CVE-2014-9938

Publication date 19 March 2017

Last updated 24 July 2024


Ubuntu priority

Cvss 3 Severity Score

8.8 · High

Score breakdown

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.

Read the notes from the security team

Status

Package Ubuntu Release Status
git 16.10 yakkety
Not affected
16.04 LTS xenial
Not affected
14.04 LTS trusty
Fixed 1:1.9.1-1ubuntu0.4
12.04 LTS precise
Not affected

Notes


mdeslaur

PoC: https://github.com/njhartwell/pw3nage only affects 1.8.1+

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
git

Severity score breakdown

Parameter Value
Base score 8.8 · High
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Scope Unchanged
Confidentiality High
Integrity impact High
Availability impact High
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References

Related Ubuntu Security Notices (USN)

Other references