Vulnerability · Published Aug 31, 2021 · Assigned by mitre
CVE-2021-40330
High 7.5
In plain English
A high-severity security flaw in the git package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.9% (higher than 87% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.5High
Exploit odds (30 days)2.9%top 13.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | git | 1:2.30.1-1 | DEBIAN-CVE-2021-40330 |
| Debian:13 | git | 1:2.30.1-1 | DEBIAN-CVE-2021-40330 |
| Debian:14 | git | 1:2.30.1-1 | DEBIAN-CVE-2021-40330 |