Skip to content

CVE-2022-39351 Dependency-Track vulnerable to logging of API keys in clear text when handling API requests using keys with insufficient permissions

MediumCVSS 4.4 EPSS 0.22%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
owasp dependency-track < 4.6.0 4.6.0 Fixed
dependencytrack dependency-track = < 4.6.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
dependencytrack dependency-track = < 4.6.0 No fix listed
owasp dependency-track < 4.6.0 4.6.0

References