CVE-2024-23686
mediumpriority · track · 21EPSS 0.006 · 49 %ileEUUSEPSS · scored 2026-10-27
DependencyCheck for Maven 9.0.0 to 9.0.6, for CLI version 9.0.0 to 9.0.5, and for Ant versions 9.0.0 to 9.0.5, when used in debug mode, allows an attacker to recover the NVD API Key from a log file.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (5)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-frxm-v7q3-v2wvInsertion of Sensitive Information into Log File in OWASP DependencyCheck2024-01-20ghsa · osvUS
DependencyCheck for Maven 9.0.0 to 9.0.6, for CLI version 9.0.0 to 9.0.5, and for Ant versions 9.0.0 to 9.0.5, when used in debug mode, allows an attacker to recover the NVD API Key from a log file.
- GHSA-qqhq-8r2c-c3f5nvdApiKey is logged in debug mode2023-12-15ghsa · osvUS
### 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.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (11)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2024-23686cnnvd
- https://cxsecurity.com/cveshow/CVE-2024-23686/cnnvd
- https://github.com/advisories/GHSA-qqhq-8r2c-c3f5cnnvd
- https://github.com/jeremylong/DependencyCheck/security/advisories/GHSA-qqhq-8r2c-c3f5cnnvd
- https://vulncheck.com/advisories/vc-advisory-GHSA-qqhq-8r2c-c3f5cnnvd
- https://github.com/advisories/GHSA-qqhq-8r2c-c3f5enisa_euvd
- https://github.com/jeremylong/DependencyCheck/security/advisories/GHSA-qqhq-8r2c-c3f5enisa_euvd
- https://vulncheck.com/advisories/vc-advisory-GHSA-qqhq-8r2c-c3f5enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan