CVE-2021-40330
Last modified
CVE-2021-40330 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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.. EPSS estimates a 3.20% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Git-Scm | Git | < 2.30.1 |
| Debian | Debian Linux | 10.0 |
References
- https://github.com/git/git/commit/a02ea577174ab8ed18f847cf1693f213e0b9c473Exploit, Patch, Third Party Advisory
- https://github.com/git/git/compare/v2.30.0...v2.30.1Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/10/msg00014.htmlMailing List, Third Party Advisory
- https://github.com/git/git/commit/a02ea577174ab8ed18f847cf1693f213e0b9c473Exploit, Patch, Third Party Advisory
- https://github.com/git/git/compare/v2.30.0...v2.30.1Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/10/msg00014.htmlMailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-40330?
How severe is CVE-2021-40330?
How do I fix CVE-2021-40330?
Are you affected by CVE-2021-40330?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
