OS Command Injection Affecting git-p4 package, versions <0:1.8.3.1-11.el7


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

EPSS
2.32% (82nd 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-2086633
  • published26 Jul 2021
  • disclosed22 Apr 2014

Introduced: 22 Apr 2014

CVE-2014-9938  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade Centos:7 git-p4 to version 0:1.8.3.1-11.el7 or higher.

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.

contrib/completion/git-prompt.sh in Git before 1.9.3 does not sanitize branch names in the PS1 variable, allowing a malicious repository to cause code execution.

CVSS Base Scores

version 3.1