Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

CVE-2014-9938

Published: 19 March 2017

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.

Notes

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

Priority

Medium

Cvss 3 Severity Score

8.8

Score breakdown

Status

Package Release Status
git
Launchpad, Ubuntu, Debian
precise Not vulnerable
(1:1.7.9.5-1ubuntu0.3)
trusty
Released (1:1.9.1-1ubuntu0.4)
upstream
Released (1:2.0.0~rc2-1)
xenial Not vulnerable
(1:2.7.4-0ubuntu1)
yakkety Not vulnerable

Patches:
upstream: https://github.com/git/git/commit/8976500cbbb13270398d3b3e07a17b8cc7bff43f

Severity score breakdown

Parameter Value
Base score 8.8
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