CVE-2021-40330 Affecting git package, versions <1:2.7.4-0ubuntu1.10+esm1


medium

Snyk CVSS

    Attack Complexity Low
    Confidentiality High

    Threat Intelligence

    EPSS 0.32% (71st percentile)
Expand this section
NVD
7.5 high
Expand this section
SUSE
5.4 medium
Expand this section
Red Hat
7.5 high

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-UBUNTU1604-GIT-1584921
  • published 3 Sep 2021
  • disclosed 31 Aug 2021

How to fix?

Upgrade Ubuntu:16.04 git to version 1:2.7.4-0ubuntu1.10+esm1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream git package and not the git package as distributed by Ubuntu. See How to fix? for Ubuntu:16.04 relevant fixed versions and status.

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.