CVE-2021-40330: debian debian_linux
Vulnerability summary
CVE-2021-40330 is a high (CVSS 7.5) vulnerability in debian debian_linux. EPSS estimates a 2.90% chance of exploitation in the next 30 days, higher than 87.3% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1Timeline
- 31-08-2021PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
2.90%
Chance of exploitation in the next 30 days
Percentile
87%
Versus all other CVEs
30-day change
Increase +0.02 pp
From 2.87% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundGit
Maturity: poc
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Suse7 products
- git&distro=HPE Helion OpenStack 8< 2.26.2-27.49.3
- git&distro=SUSE Linux Enterprise Module for Basesystem 15 SP2< 2.26.2-33.1
- git&distro=SUSE Linux Enterprise Module for Development Tools 15 SP2< 2.26.2-33.1
- git&distro=SUSE Linux Enterprise Server 12 SP5< 2.26.2-27.49.3
- git&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP5< 2.26.2-27.49.3
Debian2 products
- git< 1:2.30.1-1
- debian_linuxEOL10.0
Opensuse2 products
- git&distro=openSUSE Leap 15.2< 2.26.2-lp152.2.12.1
- git&distro=openSUSE Leap 15.3< 2.26.2-33.1
Alpine1 product
- git< 2.26.3-r1
Git-scm1 product
- git< 2.30.1
Ubuntu1 product
- git< 1:2.7.4-0ubuntu1.10+esm1 | < 1:2.17.1-1ubuntu0.9 | < 1:2.25.1-1ubuntu3.2
6 vendors · 14 products
References
15 linksShow all 15 references
- lists.opensuse.org/archives/…Advisory
- lists.opensuse.org/archives/…Advisory