CVE-2018-1000021

NameCVE-2018-1000021
DescriptionGIT 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).
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs889680

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
git (PTS)buster1:2.20.1-2+deb10u3vulnerable
buster (security)1:2.20.1-2+deb10u8vulnerable
bullseye (security), bullseye1:2.30.2-1+deb11u2vulnerable
bookworm1:2.39.2-1.1vulnerable
sid, trixie1:2.43.0-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
gitsource(unstable)(unfixed)unimportant889680

Notes

http://www.batterystapl.es/2018/01/security-implications-of-ansi-escape.html
Terminal emulators need to perform proper escaping

Search for package or bug name: Reporting problems