CVE-2014-9938

git: git-prompt.sh does not sanitize branch names in $PS1

Published Mar 20, 2017 CVSS 3.1 · 8.8 High EPSS 2.3% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2014-9743 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.
Ubuntu USN Ubuntu USN USN-3243-1 Git vulnerability
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 6, 2024, 2:02 PM
Reserved
Mar 19, 2017, 12:00 AM
Status
Modified
Published
Mar 20, 2017, 12:59 AM
Modified
Jun 17, 2026, 12:19 AM
Severity
Moderate
Public date
Apr 22, 2014, 12:00 AM