CVE-2021-40330 Affecting git-arch package, versions <2.26.2-33.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.21% (59th percentile)

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 IDSNYK-SLES152-GITARCH-2662925
  • published14 Apr 2022
  • disclosed6 Oct 2021

Introduced: 6 Oct 2021

CVE-2021-40330  (opens in a new tab)

How to fix?

Upgrade SLES:15.2 git-arch to version 2.26.2-33.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream git-arch package and not the git-arch package as distributed by SLES. See How to fix? for SLES:15.2 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.

CVSS Scores

version 3.1