CVE-2014-9938

high
New! CVE Severity Now Using CVSS v3

The calculated severity for CVEs has been updated to use CVSS v3 by default. CVEs that do not have a CVSS v3 score will fall back CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

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.

References

https://access.redhat.com/errata/RHSA-2017:2004

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

https://github.com/njhartwell/pw3nage

Details

Source: MITRE

Published: 2017-03-20

Updated: 2020-04-29

Type: CWE-116

Risk Information

CVSS v2

Base Score: 6.8

Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P

Impact Score: 6.4

Exploitability Score: 8.6

Severity: MEDIUM

CVSS v3

Base Score: 8.8

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Impact Score: 5.9

Exploitability Score: 2.8

Severity: HIGH

Vulnerable Software

Configuration 1

OR

cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*

Tenable Plugins

View all (8 total)

IDNameProductFamilySeverity
124923EulerOS Virtualization 3.0.1.0 : git (EulerOS-SA-2019-1420)NessusHuawei Local Security Checks
critical
103026EulerOS 2.0 SP2 : git (EulerOS-SA-2017-1188)NessusHuawei Local Security Checks
high
103025EulerOS 2.0 SP1 : git (EulerOS-SA-2017-1187)NessusHuawei Local Security Checks
high
102749CentOS 7 : git (CESA-2017:2004)NessusCentOS Local Security Checks
high
102640Scientific Linux Security Update : git on SL7.x x86_64 (20170801)NessusScientific Linux Local Security Checks
high
102294Oracle Linux 7 : git (ELSA-2017-2004)NessusOracle Linux Local Security Checks
high
102110RHEL 7 : git (RHSA-2017:2004)NessusRed Hat Local Security Checks
high
97938Ubuntu 14.04 LTS : git vulnerability (USN-3243-1)NessusUbuntu Local Security Checks
high