CVE-2021-40330

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
31/08/2021
Last modified:
07/11/2022

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* 2.30.1 (excluding)
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*