Vulnerability in Git-Scm Git
CVE-2021-40330
git_connect_git in connect.c in Git before 2.30.1 allows a repository path to contain a newline character, which may result in unexpected cross-protocol requests, as demonstrated by the git://localhost:1234/%0d%0a%0d%0aGET%20/%20HTTP/1.1 substring.
EPSS: 0.031 (86.3th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
Affected products
- Git-scm Git
- Debian Debian_linux — versions 10.0
- N/a — versions n/a
Public proof-of-concept exploits
References
- cve@mitre.org (Exploit, Patch, Third Party Advisory)
- cve@mitre.org (Patch, Third Party Advisory)
- cve@mitre.org (mailing-list, Mailing List, Third Party Advisory)
Frequently asked questions
- What is CVE-2021-40330?
- CVE-2021-40330 is a high-severity vulnerability in Git-Scm Git. CVSS score: 7.5/10. Published 2021-08-31.
- How severe is CVE-2021-40330?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2021-40330 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.