CVE-2018-1000021
git: client prints server-sent ANSI escape codes to the terminal, allowing for unverified messages to potentially execute arbitrary commands
Overview
Description
GIT version 2.15.1 and earlier contains a Input Validation Error vulnerability in Client that can result in problems including messing up terminal configuration to RCE. This attack appear to be exploitable via The user must interact with a malicious git server, (or have their traffic modified in a MITM attack).
Source: OX vulnerability database
Severity
5 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
Weakness: CWE-20
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 14 fixes
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 5.0 | git +2 | 2.43.7-1.ph5 |
Red Hat 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | emacs-git +33 | wont fix |
| 8 | git +14 | wont fix |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | git | affected |
| 12 | git | affected |
| 13 | git | affected |
| 14 | git | affected |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| git | 1:2.39.5-0+deb12u2 |
root.io debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | rootio-git | affected |
| 12 | rootio-git | affected |
| 13 | rootio-git | affected |
seal debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| git +1 | 1:2.34.1-1ubuntu1.15+sp999 | |
| git +1 | 1:2.34.1-1ubuntu1.17+sp999 | |
| git +1 | 1:2.43.0-1ubuntu7.2+sp999 |
References
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.