CVEvulnerability
CVE-2014-9938
8.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2017-03-20
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-116
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.
Affected configurations
• git-scm git (< 1.9.3)
Related
Weakness · CWE (1)
- CWE-116 Improper Encoding or Escaping of Output weakness
References
- https://access.redhat.com/errata/RHSA-2017:2004 Third Party Advisory
- https://github.com/git/git/commit/8976500cbbb13270398d3b3e07a17b8cc7bff43f Patch, Third Party Advisory
- https://github.com/njhartwell/pw3nage Exploit, Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:2004 Third Party Advisory
- https://github.com/git/git/commit/8976500cbbb13270398d3b3e07a17b8cc7bff43f Patch, Third Party Advisory
- https://github.com/njhartwell/pw3nage Exploit, Third Party Advisory