First published: Tue Aug 31 2021(Updated: )
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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Git | <2.30.1 | |
Debian Linux | =10.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The CVE ID of this vulnerability is CVE-2021-40330.
The severity of CVE-2021-40330 is high with a CVSS score of 7.5.
The affected software for CVE-2021-40330 is Git before version 2.30.1 and Debian Linux 10.0.
CVE-2021-40330 allows a repository path to contain a newline character, which may result in unexpected cross-protocol requests.
To fix CVE-2021-40330, update Git to version 2.30.1 or apply the patch provided by the vendor.