Vulnerabilities > CVE-2022-24975 - Exposure of Resource to Wrong Sphere vulnerability in Git-Scm GIT
Attack vector
NETWORK Attack complexity
LOW Privileges required
NONE Confidentiality impact
HIGH Integrity impact
NONE Availability impact
NONE Summary
The --mirror documentation for Git through 2.35.1 does not mention the availability of deleted content, aka the "GitBleed" issue. This could present a security risk if information-disclosure auditing processes rely on a clone operation without the --mirror option. Note: This has been disputed by multiple 3rd parties who believe this is an intended feature of the git binary and does not pose a security risk.
Vulnerable Configurations
Common Weakness Enumeration (CWE)
References
- https://wwws.nightwatchcybersecurity.com/2022/02/11/gitbleed/
- https://github.com/git/git/blob/2dc94da3744bfbbf145eca587a0f5ff480cc5867/Documentation/git-clone.txt#L185-L191
- https://www.aquasec.com/blog/undetected-hard-code-secrets-expose-corporations/
- https://lore.kernel.org/git/xmqq4k14qe9g.fsf%40gitster.g/