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.
Analysis and contextual insights are available on OpenCVE Cloud.
Remediation
No solution or workaround provided in the CVE record.
Additional remediation guidance may be available on OpenCVE Cloud.
Tracking
Sign in to view the affected projects.
Advisories
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-3145-1 | git security update |
EUVD |
EUVD-2021-27510 | 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. |
Ubuntu USN |
USN-5076-1 | Git vulnerability |
References
History
No history.
Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2024-08-04T02:27:31.913Z
Reserved: 2021-08-31T00:00:00.000Z
Link: CVE-2021-40330
No data.
Status : Modified
Published: 2021-08-31T04:15:10.667
Modified: 2026-06-17T04:06:44.270
Link: CVE-2021-40330
OpenCVE Enrichment
No data.
Weaknesses
-
CWE-20
Improper Input Validation
- NVD-CWE-noinfo
Debian DLA
EUVD
Ubuntu USN