Your submission was sent successfully! Close

CVE-2021-40330

Published: 31 August 2021

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.

Priority

Medium

CVSS 3 base score: 7.5

Status

Package Release Status
git
Launchpad, Ubuntu, Debian
bionic
Released (1:2.17.1-1ubuntu0.9)
focal
Released (1:2.25.1-1ubuntu3.2)
hirsute Not vulnerable
(1:2.30.2-1ubuntu1)
impish Not vulnerable

jammy Not vulnerable

trusty Does not exist

upstream
Released (1:2.30.1-1)
xenial
Released (1:2.7.4-0ubuntu1.10+esm1)
Patches:
upstream: https://github.com/git/git/commit/a02ea577174ab8ed18f847cf1693f213e0b9c473