Authenticated source disclosure via cross-project fork comparison
Published May 3, 2023 · Updated Feb 12, 2025
Improper authorization in affected GitLab versions allows remote authenticated users to read private project updates through a fork. The repository comparison API authorizes access to the fork but accepts a from_project_id for the private upstream project, exposing upstream changes in the generated diff. Exploitation requires Guest membership after a role downgrade and read-code access to a pre-existing fork; the disclosed data is limited to repository changes represented by the comparison.
Summary
What happened
Improper authorization in affected GitLab versions allows remote authenticated users to read private project updates through a fork. The repository comparison API authorizes access to the fork but accepts a from_project_id for the private upstream project, exposing upstream changes in the generated diff. Exploitation requires Guest membership after a role downgrade and read-code access to a pre-existing fork; the disclosed data is limited to repository changes represented by the comparison.
The record
- CVE
- CVE-2023-0485
- Published
- May 3, 2023
- Updated
- Feb 12, 2025
- Vendor
- GitLab
- Product
- GitLab
- Classifications
- CWE-668, T1213.003
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- May 3, 2023CVE publishedPublication date reported by the CVE source.
- Feb 12, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>=13,11, <15.8.5
- Affected versionversion=>=15.10, <15.10.1
- Affected versionversion=>=15.9, <15.9.4
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- GitLab cross-project fork comparison reproductionproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo