Skip to main content
No exploitation reported

CVE-2018-1000021

No exploitation reported by the sources we read.

  • Published2018-02-09
  • WeaknessCWE-20

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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

Timeline

dates in UTC
  1. 2018-02-0923:29CVE publishedNVD

Versions per branch

NVD
Git-scm git
BranchAffectedFixed in
2.15≤ 2.15.1no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • gitUbuntu:Pro:20.04:LTSall versions · no fixed version listed
  • gitUbuntu:Pro:18.04:LTSall versions · no fixed version listed
  • gitUbuntu:Pro:16.04:LTSall versions · no fixed version listed
  • gitUbuntu:24.04:LTSall versions · no fixed version listed
  • gitUbuntu:22.04:LTSall versions · no fixed version listed
  • gitDebian:14all versions · no fixed version listed
  • gitDebian:13all versions · no fixed version listed
  • gitDebian:12all versions · no fixed version listed

Vendor advisories

  • CVE-2018-1000021 Red Hat Product Security65 known affected

    git: client prints server-sent ANSI escape codes to the terminal, allowing for unverified messages to potentially execute arbitrary commands

    emacs-git as a component of Red Hat Enterprise Linux 6 · emacs-git-el as a component of Red Hat Enterprise Linux 6 · git as a component of Red Hat Enterprise Linux 6 · +62 more

Full record on NVD

Fix

  1. No fix planned, says the vendor Red Hat Product Security CVE-2018-1000021 · 65 productsWill not fix

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
Published
2018-02-09
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-vpq8-fvqp-vj6h

Frequently asked questions

What is 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 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).

Is CVE-2018-1000021 actively exploited?

Active exploitation of CVE-2018-1000021 has not been confirmed. Its EPSS score was 1.1% on 2026-11-15, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2018-1000021?

CVE-2018-1000021 has a CVSS v3 base score of 5 (MEDIUM severity), with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L.

Running git? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record