Name | CVE-2014-9938 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
git (PTS) | bullseye | 1:2.30.2-1+deb11u2 | fixed |
| bullseye (security) | 1:2.30.2-1+deb11u3 | fixed |
| bookworm | 1:2.39.2-1.1 | fixed |
| sid, trixie | 1:2.45.2-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
git | source | wheezy | (not affected) | | | |
git | source | (unstable) | 1:2.0.0~rc2-1 | | | |
Notes
[wheezy] - git <not-affected> (Vulnerable code introduced in 1.8.1-rc0)
https://github.com/git/git/commit/8976500cbbb13270398d3b3e07a17b8cc7bff43f
https://github.com/njhartwell/pw3nage
Vulnerability likely introduced by the "pc_mode" in https://github.com/git/git/commit/1bfc51ac814125de03ddf1900245e42d6ce0d250