CVEfocus › CVE database › CVE-2018-1000021

CVE-2018-1000021

CVSS 5.0 MediumEPSS 1.1% (higher than 64% of CVEs)Published 2018-02-09Updated 2024-08-05Assigner: mitre

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

What to do

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fix pending
51Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04gitWill not fix
This is really an issue with terminal emulators that allow executing arbitrary code by displaying ANSI escape sequences. Terminal emulators in Ubuntu do not…
UBUNTU-CVE-2018-1000021
Ubuntu 22.04gitWill not fix
This is really an issue with terminal emulators that allow executing arbitrary code by displaying ANSI escape sequences. Terminal emulators in Ubuntu do not…
UBUNTU-CVE-2018-1000021
Ubuntu 20.04gitFix pendingUBUNTU-CVE-2018-1000021
Ubuntu 18.04gitFix pendingUBUNTU-CVE-2018-1000021
Ubuntu 16.04gitWill not fix
This is really an issue with terminal emulators that allow executing arbitrary code by displaying ANSI escape sequences. Terminal emulators in Ubuntu do not…
UBUNTU-CVE-2018-1000021
Debian 14gitWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2018-1000021
Debian 13gitWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2018-1000021
Debian 12gitWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2018-1000021
Red Hat Enterprise Linux 8gitWill not fix
Will not fix
Red Hat Enterprise Linux 8git-allWill not fix
Will not fix
Red Hat Enterprise Linux 8git-coreWill not fix
Will not fix
Red Hat Enterprise Linux 8git-core-docWill not fix
Will not fix
Red Hat Enterprise Linux 8git-credential-libsecretWill not fix
Will not fix
Red Hat Enterprise Linux 8git-daemonWill not fix
Will not fix
Red Hat Enterprise Linux 8git-emailWill not fix
Will not fix
Red Hat Enterprise Linux 8git-guiWill not fix
Will not fix
Red Hat Enterprise Linux 8git-instawebWill not fix
Will not fix
Red Hat Enterprise Linux 8git-subtreeWill not fix
Will not fix
Red Hat Enterprise Linux 8git-svnWill not fix
Will not fix
Red Hat Enterprise Linux 8gitkWill not fix
Will not fix
Red Hat Enterprise Linux 8gitwebWill not fix
Will not fix
Red Hat Enterprise Linux 8perl-GitWill not fix
Will not fix
Red Hat Enterprise Linux 8perl-Git-SVNWill not fix
Will not fix
Red Hat Enterprise Linux 7emacs-gitWill not fix
Will not fix
Red Hat Enterprise Linux 7emacs-git-elWill not fix
Will not fix
Red Hat Enterprise Linux 7gitWill not fix
Will not fix
Red Hat Enterprise Linux 7git-allWill not fix
Will not fix
Red Hat Enterprise Linux 7git-bzrWill not fix
Will not fix
Red Hat Enterprise Linux 7git-cvsWill not fix
Will not fix
Red Hat Enterprise Linux 7git-daemonWill not fix
Will not fix
Red Hat Enterprise Linux 7git-emailWill not fix
Will not fix
Red Hat Enterprise Linux 7git-gnome-keyringWill not fix
Will not fix
Red Hat Enterprise Linux 7git-guiWill not fix
Will not fix
Red Hat Enterprise Linux 7git-hgWill not fix
Will not fix
Red Hat Enterprise Linux 7git-instawebWill not fix
Will not fix
Red Hat Enterprise Linux 7git-p4Will not fix
Will not fix
Red Hat Enterprise Linux 7git-svnWill not fix
Will not fix
Red Hat Enterprise Linux 7gitkWill not fix
Will not fix
Red Hat Enterprise Linux 7gitwebWill not fix
Will not fix
Red Hat Enterprise Linux 7perl-GitWill not fix
Will not fix
Red Hat Enterprise Linux 7perl-Git-SVNWill not fix
Will not fix
Red Hat Enterprise Linux 6emacs-gitWill not fix
Will not fix
Red Hat Enterprise Linux 6emacs-git-elWill not fix
Will not fix
Red Hat Enterprise Linux 6gitWill not fix
Will not fix
Red Hat Enterprise Linux 6git-allWill not fix
Will not fix
Red Hat Enterprise Linux 6git-cvsWill not fix
Will not fix
Red Hat Enterprise Linux 6git-daemonWill not fix
Will not fix
Red Hat Enterprise Linux 6git-emailWill not fix
Will not fix
Red Hat Enterprise Linux 6git-guiWill not fix
Will not fix
Red Hat Enterprise Linux 6git-svnWill not fix
Will not fix
Red Hat Enterprise Linux 6gitkWill not fix
Will not fix
Red Hat Enterprise Linux 6gitwebWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-GitWill not fix
Will not fix

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.