Exposure of Resource to Wrong Sphere in Git



| Updated: 2025-05-21
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2022-24975
CWE-ID CWE-668
Exploitation vector Network
Public exploit N/A
Vulnerable software
Git
Client/Desktop applications / Software for system administration

Vendor Git

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Exposure of Resource to Wrong Sphere

EUVDB-ID: #VU109618

Risk: High

CVSSv4.0: 6.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2022-24975

CWE-ID: CWE-668 - Exposure of resource to wrong sphere

Exploit availability: No

Description

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to The --mirror documentation for Git does not mention the availability of deleted content, aka the "GitBleed" issue. A remote attacker can gain unauthorized access to sensitive information on the system.

Mitigation

Install update from vendor's website.

Vulnerable software versions

Git: 0.01 - 2.35.1

CPE2.3 External links

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/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###