# CVE-2018-1000021: GIT version 2.15.1 and earlier contains a Input Validation Error vulnerability in Client that can result in problems including messing up t…

- Severity: Medium 5.0 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.07%, higher than 65% of CVEs (2026-12-01)
- Published: 2018-02-09T23:00:00.000Z
- Modified: 2026-06-17T01:32:13.420Z
- Weaknesses: CWE-20
- Assigned by: mitre

## 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).

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- git-scm git: up to 2.15.1

## Every score

- NVD: CVSS:3.1 5.0 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <http://www.batterystapl.es/2018/01/security-implications-of-ansi-escape.html> (third-party-advisory)

## Sources

- CVE List: [CVE-2018-1000021](https://www.cve.org/CVERecord?id=CVE-2018-1000021), CVE Terms of Use, modified 2024-08-05
- NVD: [CVE-2018-1000021](https://nvd.nist.gov/vuln/detail/CVE-2018-1000021), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2018-1000021 · Whole record: https://cve.day/CVE-2018-1000021.json · Rebuilt by cve.day 2026-11-25T22:57:36.613Z
