{"id":"CVE-2022-39351","aliases":["CVE-2022-39351"],"related":[],"kind":"vulnerability","state":"published","title":"Dependency-Track vulnerable to logging of API keys in clear text when handling API requests using keys with insufficient permissions","summary":"Dependency-Track is a Component Analysis platform that allows organizations to identify and reduce risk in the software supply chain. Prior to version 4.6.0, performing an API request using a valid API key with insufficient permissions causes the API key to be written to Dependency-Track's audit log in clear text. Actors with access to the audit log can exploit this flaw to gain access to valid API keys. The issue has been fixed in Dependency-Track 4.6.0. Instead of logging the entire API key, only the last 4 characters of the key will be logged. It is strongly recommended to check historic logs for occurrences of this behavior, and re-generating API keys in case of leakage.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Dependency-Track is a Component Analysis platform that allows organizations to identify and reduce risk in the software supply chain. Prior to version 4.6.0, performing an API request using a valid API key with insufficient permissions causes the API key to be written to Dependency-Track's audit log in clear text. Actors with access to the audit log can exploit this flaw to gain access to valid API keys. The issue has been fixed in Dependency-Track 4.6.0. Instead of logging the entire API key, only the last 4 characters of the key will be logged. It is strongly recommended to check historic logs for occurrences of this behavior, and re-generating API keys in case of leakage.","source":"cvelist"},{"lang":"es","text":"Dependency-Track es una plataforma de análisis de componentes que permite a las organizaciones identificar y reducir el riesgo en la cadena de suministro de software. versiones anteriores a 4.6.0, llevar a cabo una petición de API usando una clave de API válida con permisos insuficientes causa que la clave de API sea escrita en el registro de auditoría de Dependency-Track en texto sin cifrar. Los actores con acceso al registro de auditoría pueden aprovechar este fallo para conseguir acceso a claves de API válidas. El problema ha sido corregido en Dependency-Track versión 4.6.0. En lugar de registrar toda la clave API, sólo serán registrados los últimos 4 caracteres de la clave. Es recomendado encarecidamente comprobar los registros históricos para comprobar si es producido este comportamiento, y volver a generar las claves de API en caso de filtración","source":"nvd"}],"published":"2022-10-25T00:00:00.000Z","modified":"2026-06-17T04:58:11.820Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","score":4.4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","score":4.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","score":4.4,"rating":"MEDIUM"}],"cwes":["CWE-312"],"affected":[{"ranges":[{"version":"< 4.6.0","status":"affected"}],"vendor":"DependencyTrack","product":"dependency-track","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"4.6.0"}],"vendor":"owasp","product":"dependency-track","cpe":"cpe:2.3:a:owasp:dependency-track:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://docs.dependencytrack.org/changelog/","tags":["product","release-notes","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/DependencyTrack/dependency-track/security/advisories/GHSA-gh7v-4hxp-gqp4","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/DependencyTrack/dependency-track/blob/4.5.0/src/main/docker/logback.xml","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-04-23T13:55:52.478Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-39351","url":"https://www.cve.org/CVERecord?id=CVE-2022-39351","licence":"CVE Terms of Use","modified":"2025-04-23T16:43:44.094Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-39351","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39351","licence":"Public domain","modified":"2026-06-17T04:58:11.820Z"}],"updatedAt":"2026-11-25T22:58:15.998Z","epss":{"score":0.00215,"percentile":0.1265,"date":"2026-12-01T12:00:22.000Z"}}