CVE-2024-4472
Medium · 5.5CVSS
5.5
EPSS
0.2%
Published
Sep 12, 2024
CISA due date
—
Cloudanix analysis
GitLab can store secret login details for its dependency proxy inside log files where people who shouldn't see them might find and use those details.
- Exploitation
- Remote Authenticated
- Attacker needs
- Low Privilege
- Complexity
- Moderate
- Impact
- Data Exposure
- Component
- Application
- Class
- Information Disclosure
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The flaw causes dependency proxy credentials to be retained in GraphQL logs, exposing authentication secrets through log files.
Why it matters to the business
Organizations running affected GitLab instances risk credential exposure that could allow unauthorized access to dependency proxy resources; remediation urgency remains low given no known exploitation or ransomware use despite the 760 days since publication.
How an attack unfolds
An attacker with access to GitLab log storage retrieves retained dependency proxy credentials from GraphQL log entries and reuses them to authenticate against the proxy.
How to fix it
Upgrade GitLab CE/EE to 17.1.7, 17.2.5, or 17.3.2 (or later) corresponding to commit 84cf95d60d2691201b17bb4d41a95987ded847fb; the erroneous openmeetings references should be ignored as they do not match the CVE scope.
How to confirm the fix worked
After upgrade, inspect GraphQL logs to confirm absence of dependency proxy credentials and verify log redaction settings.
Typical attack path
- Obtain access to GitLab log storage or GraphQL log files
- Search logs for dependency proxy credential strings
- Extract and reuse the credentials against the dependency proxy
How to detect it
Search GraphQL logs for strings related to dependency proxy credentials and monitor for anomalous access patterns to log directories.
What your security team should do
- Apply the listed GitLab version upgrades immediately on all affected instances
- Review and restrict access to existing GraphQL log files
- Audit logs for any previously exposed credentials and rotate them
The record
An issue was discovered in GitLab CE/EE affecting all versions starting from 16.5 prior to 17.1.7, starting from 17.2 prior to 17.2.5, and starting from 17.3 prior to 17.3.2, where dependency proxy credentials are retained in graphql Logs.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Bitnami | gitlab | 16.5.0 | 17.1.7 |
| Ubuntu:16.04:LTS | gitlab | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | gitlab | 0 | No fix |
Related vulnerabilities
- CVE-2026-1751 A vulnerability has been discovered in GitLab CE/EE affecting all versions starting with… Also affects gitlab
- CVE-2025-3950 Exposure of Private Personal Information to an Unauthorized Actor in GitLab Also affects gitlab
- CVE-2025-9222 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in… Also affects gitlab
- CVE-2025-10569 Allocation of Resources Without Limits or Throttling in GitLab Also affects gitlab
- CVE-2025-11246 Insufficient Granularity of Access Control in GitLab Also affects gitlab
- CVE-2025-13772 Missing Authorization in GitLab Also affects gitlab
- CVE-2025-13761 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in… Also affects gitlab
- CVE-2025-13781 Missing Authorization in GitLab Also affects gitlab