File disclosure via top-level objects symlink traversal
Published Feb 14, 2023 · Updated Feb 13, 2025
Information disclosure in Git 2.39.1 and earlier allows attackers to expose files at known paths through a crafted repository clone. Git misclassifies an ambiguous submodule transport as local, then follows a top-level $GIT_DIR/objects symbolic link while copying objects into the clone. Exploitation requires a victim to clone an untrusted repository with recursive submodules; the resulting working copy can contain readable local files at attacker-known paths.
Summary
What happened
Information disclosure in Git 2.39.1 and earlier allows attackers to expose files at known paths through a crafted repository clone. Git misclassifies an ambiguous submodule transport as local, then follows a top-level $GIT_DIR/objects symbolic link while copying objects into the clone. Exploitation requires a victim to clone an untrusted repository with recursive submodules; the resulting working copy can contain readable local files at attacker-known paths.
The record
- CVE
- CVE-2023-22490
- Published
- Feb 14, 2023
- Updated
- Feb 13, 2025
- Vendor
- Git
- Product
- Git
- Classifications
- CWE-59, T1005
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Feb 14, 2023CVE publishedPublication date reported by the CVE source.
- Feb 13, 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=< 2.30.8
- Affected versionversion=>= 2.31.0, < 2.31.7
- Affected versionversion=>= 2.32.0, < 2.32.6
- Affected versionversion=>= 2.33.0, < 2.33.7
- Affected versionversion=>= 2.34.0, < 2.34.7
- Affected versionversion=>= 2.35.0, < 2.35.7
- Affected versionversion=>= 2.36.0, < 2.36.5
- Affected versionversion=>= 2.37.0, < 2.37.6
- Affected versionversion=>= 2.38.0, < 2.38.4
- Affected versionversion=>= 2.39.0, < 2.39.2
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.
Weakness, pattern, technique
Public exploit references
- Upstream ambiguous-transport regression testproof 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