CVE-2019-5188

NameCVE-2019-5188
DescriptionA code execution vulnerability exists in the directory rehashing functionality of E2fsprogs e2fsck 1.45.4. A specially crafted ext4 directory can cause an out-of-bounds write on the stack, resulting in code execution. An attacker can corrupt a partition to trigger this vulnerability.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium
Debian Bugs948508

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
e2fsprogs (PTS)jessie1.42.12-2vulnerable
jessie (security)1.42.12-2+deb8u1vulnerable
stretch1.43.4-2vulnerable
stretch (security)1.43.4-2+deb9u1vulnerable
buster, buster (security)1.44.5-1+deb10u2vulnerable
bullseye, sid1.45.5-2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
e2fsprogssource(unstable)1.45.5-1948508

Notes

[buster] - e2fsprogs <no-dsa> (Minor issue)
[stretch] - e2fsprogs <no-dsa> (Minor issue)
[jessie] - e2fsprogs <no-dsa> (Minor issue; exploit would require providing malicious filesystem)
Fixed by: https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git/commit/?id=8dd73c149f418238f19791f9d666089ef9734dff
Further hardening: https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git/commit/?id=71ba137571ba13755337e19c9a826dfc874562a36e1b24d3
https://talosintelligence.com/vulnerability_reports/TALOS-2019-0973

Search for package or bug name: Reporting problems