AVID-2026-R1124
Description
Dependency-Track vulnerable to logging of API keys in clear text when handling API requests using keys with insufficient permissions (CVE-2022-39351)
Details
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.
Reason for inclusion in AVID: CVE-2022-39351 describes a clear security vulnerability in Dependency-Track where API keys could be logged in clear text in audit logs prior to version 4.6.0. Dependency-Track is a component analysis tool used to manage and monitor software supply chains, which are part of building, packaging, and deploying software—including AI software stacks. This makes it a relevant supply-chain vulnerability for general-purpose AI systems. The issue is security-focused (exposure of API keys), has explicit remediation (masking keys to last 4 chars in logs), and provides evidence in the description and references. Therefore it meets the AVID criteria for AI-related supply-chain vulnerability with sufficient evidence.
References
- NVD entry
- https://docs.dependencytrack.org/changelog/
- https://github.com/DependencyTrack/dependency-track/security/advisories/GHSA-gh7v-4hxp-gqp4
- https://github.com/DependencyTrack/dependency-track/blob/4.5.0/src/main/docker/logback.xml
Affected or Relevant Artifacts
- Developer: DependencyTrack
- Deployer: DependencyTrack
- Artifact Details:
| Type | Name |
|---|---|
| System | dependency-track |
Impact
AVID Taxonomy Categorization
- Risk domains: Security
- SEP subcategories: S0100: Software Vulnerability
- Lifecycle stages: L06: Deployment
CVSS
| Version | 3.1 |
| Vector String | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| Base Score | 4.4 |
| Base Severity | 🟠 Medium |
| Attack Vector | LOCAL |
| Attack Complexity | 🟢 Low |
| Privileges Required | 🔴 High |
| User Interaction | NONE |
| Scope | UNCHANGED |
| Confidentiality Impact | 🔴 High |
| Integrity Impact | NONE |
| Availability Impact | NONE |
CWE
| ID | Description |
|---|---|
| CWE-312 | CWE-312: Cleartext Storage of Sensitive Information |
Other information
- Report Type: Advisory
- Credits:
- Date Reported: 2022-10-25
- Version: 0.3.3
- AVID Entry