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.
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.029 (86.3th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 86th percentile — 86.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.029 · newest: 0.029 · change: 0.000
Affected products
- Git-Scm Git
- Debian Linux — versions 10.0
Public proof-of-concept exploits
References
- github.com/git/git/commit/a02ea577174ab8ed18f847cf1693f213e0b9c473 (Exploit, Patch, Third Party Advisory)
- github.com/git/git/compare/v2.30.0...v2.30.1 (Patch, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2022/10/msg00014.html (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.