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.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben 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 |
Verweise
- CVSS-Vektor
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N- Schwäche (CWE)
CWE-532- Plattform
- Java / Kotlin (Maven)
- Paket
org.owasp:dependency-check-ant, org.owasp:dependency-check-cli, org.owasp:dependency-check-maven- Veröffentlicht
- 15.12.2023
- Aktualisiert
- 11.10.2026 12:22
Quellen und Lizenzen
OSV / GitHub Advisory Database - GHSA-frxm-v7q3-v2wv - CC BY 4.0
OSV / GitHub Advisory Database - GHSA-qqhq-8r2c-c3f5 - CC BY 4.0
Schwachstellenhistorie: org.owasp:dependency-check-maven
Alle veröffentlichten Schwachstellen dieses Pakets (Java / Kotlin (Maven)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 2
- Erste → letzte
- 05.2022 12.2023
- Ohne Fix
- 0
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Hoch 1
- Niedrig 1
Veröffentlichungen pro Jahr
- 2022: 1
- 2023: 1
- 2024: 0
- 2025: 0
- 2026: 0
-
nvdApiKey is logged in debug mode dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.