Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.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 Severity Score

7.5

Score breakdown

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)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only)
Patches:
upstream: https://github.com/git/git/commit/a02ea577174ab8ed18f847cf1693f213e0b9c473

Severity score breakdown

Parameter Value
Base score 7.5
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Scope Unchanged
Confidentiality High
Integrity impact None
Availability impact None
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N