CVEvulnerability
CVE-2021-40330
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2021-08-31
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:P/I:N/A:N
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.
Affected configurations
• git-scm git (< 2.30.1)
• debian debian linux 10.0
References
- https://github.com/git/git/commit/a02ea577174ab8ed18f847cf1693f213e0b9c473 Exploit, Patch, Third Party Advisory
- https://github.com/git/git/compare/v2.30.0...v2.30.1 Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/10/msg00014.html Mailing List, Third Party Advisory
- https://github.com/git/git/commit/a02ea577174ab8ed18f847cf1693f213e0b9c473 Exploit, Patch, Third Party Advisory
- https://github.com/git/git/compare/v2.30.0...v2.30.1 Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/10/msg00014.html Mailing List, Third Party Advisory