{"cve":"CVE-2021-40330","nvd":{"published":"2021-08-31T04:15:10.667","modified":"2026-06-17T04:06:44.270","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":[],"references":["https://github.com/git/git/commit/a02ea577174ab8ed18f847cf1693f213e0b9c473","https://github.com/git/git/compare/v2.30.0...v2.30.1","https://lists.debian.org/debian-lts-announce/2022/10/msg00014.html","https://github.com/git/git/commit/a02ea577174ab8ed18f847cf1693f213e0b9c473","https://github.com/git/git/compare/v2.30.0...v2.30.1"],"products":["debian:debian_linux","git-scm:git"],"source":"nvd","synced_at":"2026-10-19T21:21:57.125947417+00:00"},"epss":{"cve":"CVE-2021-40330","score":0.02874,"percentile":0.86826,"date":"2026-11-01"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}