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.
Conclusion & alert: CVE-2021-40330 is rated High Exploit Risk (68.8/100): CVSS High severity, with medium exploitation likelihood (EPSS 0.54%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-05-28 | 0.40% | 0.54% | +0.14% |
| 2 | 2025-11-21 | 1.26% | 0.40% | -0.86% |
| 3 | 2025-11-18 | — | 1.26% | — |
Full EPSS history (19 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
| 5.0 | 2.0 | MEDIUM |
|
10.0 | 2.9 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
high | CVE-2021-40330: 1 source package rows (git); 33 state rows across 7 repos (3.11-main, 3.12-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 1, open 32. | https://security.alpinelinux.org/vuln/CVE-2021-40330 |
debian
|
not yet assigned | CVE-2021-40330 not yet assigned priority: Debian including 1 source packages (git), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2021-40330 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2021-40330 |
suse
|
medium | CVE-2021-40330 severity moderate: SUSE including 36 source package names (git-2.26.2-27.49.3, git-2.26.2-33.1, …), 65 product×package rows across 9 product lines (HPE Helion OpenStack 8, SUSE Linux Enterprise Module for Basesystem 15 SP2, … (9 product lines)): Fixed 65. | https://www.suse.com/security/cve/CVE-2021-40330/ |
ubuntu
|
medium | CVE-2021-40330 medium priority: Ubuntu including 1 source packages (git), 8 status rows across 8 suites (bionic, focal, hirsute, impish, jammy, trusty, upstream, xenial): released 4, not-affected 3, DNE 1. | https://ubuntu.com/security/CVE-2021-40330 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| git-scm | git | < 2.30.1 | cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
| debian | debian_linux | 10.0 | cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/git/git/commit/a02ea577174ab8ed18f847cf1693f213e0b9c473 | Exploit Patch Third Party Advisory |
| https://github.com/git/git/compare/v2.30.0...v2.30.1 | Patch Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2022/10/msg00014.html | Mailing List Third Party Advisory |