Skip to content
appaloosa scout logo main rounded
HIGH 7.5

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.

CVSS v3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS 0.4% percentile 63.7%

Affected tracked apps

Vulnerable CPE configurations

Vendor Product Platform Versions CPE 2.3 URI
git-scm git Windows <2.30.1 cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*
View on NVD ↗