Low

nvdApiKey is logged in debug mode

  • Disclosed: 15.12.2023
  • Updated: 11.10.2026 12:22

Summary

The value of nvdApiKey configuration parameter is logged in clear text in debug mode.

Details

The NVD API key is a kind of secret and should be treated like other secrets when logging in debug mode. Expecting the same behavior as for several password configurations: just print ******

Note that while the NVD API Key is an access token for the NVD API - they are not that sensitive. The only thing an NVD API Token grants is a higher rate limit when making calls to publicly available data. The data available from the NVD API is the same whether you have an API Key or not.

PoC

The nvdApiKey is configured to use an environment variable; when running mvn -X dependency-check:check the clear value is logged twice.

Impact

The NVD API key is a kind of secret and should not be exposed. If stolen, an attacker can use this key to obtain already public information.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.owasp:dependency-check-ant >= 9.0.0, < 9.0.6 9.0.6
Java / Kotlin (Maven) org.owasp:dependency-check-cli >= 9.0.0, < 9.0.6 9.0.6
Java / Kotlin (Maven) org.owasp:dependency-check-maven >= 9.0.0, < 9.0.6 9.0.6

References

CVSS score 3.3/10
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weakness (CWE)
CWE-532
Platform
Java / Kotlin (Maven)
Package
org.owasp:dependency-check-ant, org.owasp:dependency-check-cli, org.owasp:dependency-check-maven
Disclosed
15.12.2023
Updated
11.10.2026 12:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-frxm-v7q3-v2wv - CC BY 4.0

OSV / GitHub Advisory Database - GHSA-qqhq-8r2c-c3f5 - CC BY 4.0

Vulnerability history: org.owasp:dependency-check-cli

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

This is the only known vulnerability of this package.

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.