{"id":"CVE-2024-23686","aliases":["CVE-2024-23686","GHSA-frxm-v7q3-v2wv","GHSA-qqhq-8r2c-c3f5"],"related":[],"kind":"vulnerability","state":"published","title":"DependencyCheck Debug Mode Logging of NVD API Key","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Summary\nThe value of `nvdApiKey` configuration parameter is logged in clear text in debug mode.\n\n### Details\nThe NVD API key is a kind of secret and should be treated like other secrets when logging in debug mode.\nExpecting the same behavior as for several password configurations: just print `******`\n\nNote 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.\n\n### PoC\nThe nvdApiKey is configured to use an environment variable; when running `mvn -X dependency-check:check` the clear value is logged twice.\n\n### Impact\nThe 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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"DependencyCheck para Maven 9.0.0 a 9.0.6, para la Interfaz de Línea de Comandos (CLI) versión 9.0.0 a 9.0.5 y para Ant versiones 9.0.0 a 9.0.5, cuando se usa en modo de depuración, permite a un atacante recuperar la clave API NVD de un archivo de registro.","source":"nvd"}],"published":"2023-12-15T23:43:30.000Z","modified":"2026-11-20T14:31:09.582Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":3.3,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-532"],"affected":[{"ranges":[{"type":"maven","introduced":"9.0.0","lastAffected":"9.0.6","status":"affected"}],"package":"org.owasp:dependency-check-maven","source":"cvelist"},{"ranges":[{"type":"maven","introduced":"9.0.0","lastAffected":"9.0.5","status":"affected"}],"package":"org.owasp:dependency-check-cli","source":"cvelist"},{"ranges":[{"type":"maven","introduced":"9.0.0","lastAffected":"9.0.5","status":"affected"}],"package":"org.owasp:dependency-check-ant","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"9.0.0","status":"affected","fixed":"9.0.6"}],"ecosystem":"Maven","package":"org.owasp:dependency-check-ant","purl":"pkg:maven/org.owasp/dependency-check-ant","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"9.0.0","status":"affected","fixed":"9.0.6"}],"ecosystem":"Maven","package":"org.owasp:dependency-check-cli","purl":"pkg:maven/org.owasp/dependency-check-cli","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"9.0.0","status":"affected","fixed":"9.0.6"}],"ecosystem":"Maven","package":"org.owasp:dependency-check-maven","purl":"pkg:maven/org.owasp/dependency-check-maven","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"9.0.0","status":"affected","fixed":"9.0.6"}],"ecosystem":"Maven","package":"org.owasp:dependency-check-ant","purl":"pkg:maven/org.owasp/dependency-check-ant","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"9.0.0","status":"affected","fixed":"9.0.6"}],"ecosystem":"Maven","package":"org.owasp:dependency-check-cli","purl":"pkg:maven/org.owasp/dependency-check-cli","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"9.0.0","status":"affected","fixed":"9.0.6"}],"ecosystem":"Maven","package":"org.owasp:dependency-check-maven","purl":"pkg:maven/org.owasp/dependency-check-maven","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"9.0.0","lastAffected":"9.0.5"},{"status":"affected","introduced":"9.0.0","lastAffected":"9.0.5"},{"status":"affected","introduced":"9.0.0","fixed":"9.0.6"}],"vendor":"owasp","product":"dependency-check","cpe":"cpe:2.3:a:owasp:dependency-check:*:*:*:*:*:ant:*:*","source":"nvd"}],"references":[{"url":"https://github.com/jeremylong/DependencyCheck/security/advisories/GHSA-qqhq-8r2c-c3f5","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/advisories/GHSA-qqhq-8r2c-c3f5","tags":["advisory","third-party-advisory","vendor-advisory","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://vulncheck.com/advisories/vc-advisory-GHSA-qqhq-8r2c-c3f5","tags":["third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-23686","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/jeremylong/DependencyCheck","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2024-02-20T20:19:37.408Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-23686","url":"https://www.cve.org/CVERecord?id=CVE-2024-23686","licence":"CVE Terms of Use","modified":"2026-11-20T14:31:09.582Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-frxm-v7q3-v2wv","url":"https://github.com/advisories/GHSA-frxm-v7q3-v2wv","licence":"CC-BY-4.0","modified":"2026-07-08T06:49:57.802Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qqhq-8r2c-c3f5","url":"https://github.com/advisories/GHSA-qqhq-8r2c-c3f5","licence":"CC-BY-4.0","modified":"2026-07-08T06:49:57.802Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-23686","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-23686","licence":"Public domain","modified":"2026-07-14T23:17:16.977Z"}],"updatedAt":"2026-11-25T22:58:36.251Z","epss":{"score":0.00603,"percentile":0.50222,"date":"2026-12-01T12:00:22.000Z"}}