CVE-2021-40330
HIGH7.5EPSS 0.54%Published: 8/31/2021Modified: 11/19/2025
Also known as:ALPINE-CVE-2021-40330
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 (2)
- Alpine/gitfrom 0, < 2.26.3-r1
- Debian/gitfrom 0, < 1:2.30.1-1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |