Vulnerabilities > CVE-2021-40330
Attack vector
NETWORK Attack complexity
LOW Privileges required
NONE Confidentiality impact
HIGH Integrity impact
NONE Availability impact
NONE Summary
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.
Vulnerable Configurations
References
- https://github.com/git/git/commit/a02ea577174ab8ed18f847cf1693f213e0b9c473
- https://github.com/git/git/commit/a02ea577174ab8ed18f847cf1693f213e0b9c473
- https://github.com/git/git/compare/v2.30.0...v2.30.1
- https://github.com/git/git/compare/v2.30.0...v2.30.1
- https://lists.debian.org/debian-lts-announce/2022/10/msg00014.html
- https://lists.debian.org/debian-lts-announce/2022/10/msg00014.html