Sensitive-file disclosure via dereferenced object-directory symlinks
Published Oct 19, 2022 · Updated Aug 3, 2024
Information disclosure in Git allows local users to copy sensitive files through a malicious local clone or recursively cloned submodule. The local clone optimization dereferences symbolic links inside $GIT_DIR/objects and hardlinks or copies their targets into the destination instead of preserving or rejecting the links. Exploitation requires a victim to clone the malicious repository on the same volume or use --recurse-submodules, exposing readable host files in the resulting clone.
Summary
What happened
Information disclosure in Git allows local users to copy sensitive files through a malicious local clone or recursively cloned submodule. The local clone optimization dereferences symbolic links inside $GIT_DIR/objects and hardlinks or copies their targets into the destination instead of preserving or rejecting the links. Exploitation requires a victim to clone the malicious repository on the same volume or use --recurse-submodules, exposing readable host files in the resulting clone.
The record
- CVE
- CVE-2022-39253
- Published
- Oct 19, 2022
- Updated
- Aug 3, 2024
- Vendor
- Git
- Product
- Git
- Classifications
- CWE-59, CWE-200, T1204.002
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Oct 19, 2022CVE publishedPublication date reported by the CVE source.
- Aug 3, 2024Record 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.6
- Affected versionversion=< 2.31.5
- Affected versionversion=< 2.32.4
- Affected versionversion=< 2.33.5
- Affected versionversion=< 2.34.5
- Affected versionversion=< 2.35.5
- Affected versionversion=< 2.36.3
- Affected versionversion=< 2.37.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.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
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