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).
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | git | Will 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.04 | git | Will 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.04 | git | Fix pending | UBUNTU-CVE-2018-1000021 | |
| Ubuntu 18.04 | git | Fix pending | UBUNTU-CVE-2018-1000021 | |
| Ubuntu 16.04 | git | Will 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 14 | git | Will 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 13 | git | Will 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 12 | git | Will 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 8 | git | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | git-all | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | git-core | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | git-core-doc | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | git-credential-libsecret | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | git-daemon | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | git-email | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | git-gui | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | git-instaweb | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | git-subtree | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | git-svn | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | gitk | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | gitweb | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | perl-Git | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | perl-Git-SVN | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | emacs-git | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | emacs-git-el | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | git | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | git-all | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | git-bzr | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | git-cvs | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | git-daemon | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | git-email | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | git-gnome-keyring | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | git-gui | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | git-hg | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | git-instaweb | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | git-p4 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | git-svn | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | gitk | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | gitweb | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | perl-Git | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | perl-Git-SVN | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | emacs-git | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | emacs-git-el | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | git | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | git-all | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | git-cvs | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | git-daemon | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | git-email | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | git-gui | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | git-svn | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | gitk | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | gitweb | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | perl-Git | Will 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.