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.
Software afectado
Haz clic en una tecnología para ver todas sus vulnerabilidades.
| Plataforma | Paquete | Versiones vulnerables | Corregida en |
|---|---|---|---|
| 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 |
Referencias
- Vector CVSS
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N- Debilidad (CWE)
CWE-532- Plataforma
- Java / Kotlin (Maven)
- Paquete
org.owasp:dependency-check-ant, org.owasp:dependency-check-cli, org.owasp:dependency-check-maven- Publicada
- 15.12.2023
- Actualizado
- 11.10.2026 12:22
Fuentes y licencias
OSV / GitHub Advisory Database - GHSA-frxm-v7q3-v2wv - CC BY 4.0
OSV / GitHub Advisory Database - GHSA-qqhq-8r2c-c3f5 - CC BY 4.0
Historial de vulnerabilidades: org.owasp:dependency-check-maven
Todas las vulnerabilidades publicadas de este paquete (Java / Kotlin (Maven)), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.
- Entradas en total
- 2
- Primera → última
- 05.2022 12.2023
- Sin corrección
- 0
- Explotada en ataques
- 0
Distribución por gravedad
- Alta 1
- Baja 1
Divulgaciones por año
- 2022: 1
- 2023: 1
- 2024: 0
- 2025: 0
- 2026: 0
-
nvdApiKey is logged in debug mode esta entrada
Identifica las vulnerabilidades de tu aplicación
Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.