CVE-2021-40330

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

History

07 Nov 2022, 18:37

Type Values Removed Values Added
First Time Debian debian Linux
Debian
CPE cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
References (MLIST) https://lists.debian.org/debian-lts-announce/2022/10/msg00014.html - (MLIST) https://lists.debian.org/debian-lts-announce/2022/10/msg00014.html - Mailing List, Third Party Advisory

11 Oct 2022, 16:15

Type Values Removed Values Added
References
  • (MLIST) https://lists.debian.org/debian-lts-announce/2022/10/msg00014.html -

27 Sep 2021, 15:28

Type Values Removed Values Added
CPE cpe:2.3:a:git:git:*:*:*:*:*:*:*:* cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*

09 Sep 2021, 11:44

Type Values Removed Values Added
CPE cpe:2.3:a:git:git:*:*:*:*:*:*:*:*
References (MISC) https://github.com/git/git/compare/v2.30.0...v2.30.1 - (MISC) https://github.com/git/git/compare/v2.30.0...v2.30.1 - Patch, Third Party Advisory
References (MISC) https://github.com/git/git/commit/a02ea577174ab8ed18f847cf1693f213e0b9c473 - (MISC) https://github.com/git/git/commit/a02ea577174ab8ed18f847cf1693f213e0b9c473 - Exploit, Patch, Third Party Advisory
CWE NVD-CWE-noinfo
CVSS v2 : unknown
v3 : unknown
v2 : 5.0
v3 : 7.5

31 Aug 2021, 04:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-08-31 04:15

Updated : 2023-12-10 13:55


NVD link : CVE-2021-40330

Mitre link : CVE-2021-40330

CVE.ORG link : CVE-2021-40330


JSON object : View

Products Affected

git-scm

  • git

debian

  • debian_linux