nvdApiKey is logged in debug mode
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.
Czego dotyczy
Kliknij technologię, aby zobaczyć wszystkie dotyczące jej podatności.
| Platforma | Paczka | Podatne wersje | Poprawka w wersji |
|---|---|---|---|
| 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 |
Odnośniki
- Wektor CVSS
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N- Słabość (CWE)
CWE-532- Platforma
- Java / Kotlin (Maven)
- Paczka
org.owasp:dependency-check-ant, org.owasp:dependency-check-cli, org.owasp:dependency-check-maven- Ujawniono
- 15.12.2023
- Aktualizacja
- 11.10.2026 12:22
Źródła i licencje
OSV / GitHub Advisory Database - GHSA-frxm-v7q3-v2wv - CC BY 4.0
OSV / GitHub Advisory Database - GHSA-qqhq-8r2c-c3f5 - CC BY 4.0
Historia podatności: org.owasp:dependency-check-ant
Wszystkie opisane podatności tej paczki (Java / Kotlin (Maven)), od najnowszej. Widać, czy to jednorazowa wpadka, czy paczka, której trzeba pilnować.
To jedyna znana podatność tej paczki.
Dowiedz się, które podatności dotyczą Twojej aplikacji
Po podłączeniu integracji DockRay i włączeniu raportowania oprogramowania DockRay porównuje zgłoszone wersje komponentów ze znanymi podatnościami i powiadamia o potwierdzonych dopasowaniach. Zakres zależy od obsługiwanej technologii i dostępnych biuletynów.