ALPINE-CVE-2021-40330

Source
https://security.alpinelinux.org/vuln/CVE-2021-40330
Import Source
https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-40330.json
JSON Data
https://api.osv.dev/v1/vulns/ALPINE-CVE-2021-40330
Upstream
Published
2021-08-31T04:15:10Z
Modified
2026-08-27T22:18:01Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Alpine:v3.12 / git

Package

Name
git
Purl
pkg:apk/alpine/git?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.26.3-r1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-40330.json"