CVE-2024-6389
Medium · 4.3CVSS
4.3
EPSS
0.4%
Published
Sep 12, 2024
CISA due date
—
Cloudanix analysis
A permissions mistake let some users who should not see certain code change details view them anyway through a specific feed.
- Exploitation
- Remote Authenticated
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Application
- Class
- Authorization Bypass
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Authorization bypass in the release Atom endpoint permits guest users to retrieve commit metadata that should be restricted by project permissions.
Why it matters to the business
Organizations using affected GitLab versions risk unintended disclosure of commit details to users without proper access, potentially exposing development activity or sensitive change information.
How an attack unfolds
An attacker creates or uses a guest-level account, navigates to a project release Atom feed endpoint, and receives commit information that the authorization checks should have blocked.
How to fix it
Upgrade GitLab to 17.1.7, 17.2.5, or 17.3.2 (or later) which contain the fix commit 84cf95d60d2691201b17bb4d41a95987ded847fb. Apply patches immediately on internet-facing instances.
How to confirm the fix worked
After upgrade, confirm guest users can no longer retrieve commit data via the release Atom endpoint on projects where they lack permission; review release notes for the applied version.
Typical attack path
- Obtain or create a guest account on the GitLab instance
- Identify a target project and its release Atom endpoint URL
- Issue a request to the endpoint without elevated permissions
- Parse the returned Atom feed to extract commit metadata
How to detect it
Review web server and GitLab application logs for requests to release Atom endpoints originating from guest-authenticated sessions; correlate with project access logs for unexpected commit metadata retrieval.
What your security team should do
- Prioritize upgrade of all GitLab instances to the fixed releases within the next maintenance window
- Audit guest user access on projects containing sensitive repositories
- Enable enhanced logging on release endpoints to monitor for anomalous access patterns
The record
An issue was discovered in GitLab-CE/EE affecting all versions starting with 17.0 before 17.1.7, 17.2 before 17.2.5, and 17.3 before 17.3.2. An attacker as a guest user was able to access commit information via the release Atom endpoint, contrary to permissions.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Bitnami | gitlab | 17.1.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