Improper Encoding or Escaping of Output Affecting git package, versions <1:1.9.1-1ubuntu0.4


Severity

Recommended
medium

Based on Ubuntu 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-UBUNTU1404-GIT-340926
  • published20 Mar 2017
  • disclosed20 Mar 2017

Introduced: 20 Mar 2017

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

How to fix?

Upgrade Ubuntu:14.04 git to version 1:1.9.1-1ubuntu0.4 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:14.04 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