Improper Input Validation Affecting git-p4 package, versions *


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

EPSS
3.07% (87th 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-CENTOS7-GITP4-2028886
  • published5 Oct 2021
  • disclosed7 Jan 2021

Introduced: 7 Jan 2021

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

How to fix?

There is no fixed version for Centos:7 git-p4.

NVD Description

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

version 3.1