CVE-2022-39351

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

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.

Category

4.4
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.01%
Third-Party Advisory github.com Third-Party Advisory github.com
Affected: DependencyTrack dependency-track
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2022-39351?
CVE-2022-39351 has been scored as a medium severity vulnerability.
How to fix CVE-2022-39351?
To fix CVE-2022-39351, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2022-39351 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2022-39351 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2022-39351?
CVE-2022-39351 affects DependencyTrack dependency-track.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.