CVE-2018-1071

NameCVE-2018-1071
Descriptionzsh through version 5.4.2 is vulnerable to a stack-based buffer overflow in the exec.c:hashcmd() function. A local attacker could exploit this to cause a denial of service.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1335-1, DLA-2470-1, ELA-316-1
Debian Bugs894044

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
zsh (PTS)jessie, jessie (lts)5.0.7-5+deb8u4fixed
stretch (security), stretch (lts), stretch5.3.1-4+deb9u5fixed
buster (security), buster, buster (lts)5.7.1-1+deb10u1fixed
bullseye (security), bullseye5.8-6+deb11u1fixed
bookworm5.9-4fixed
sid, trixie5.9-8fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
zshsourcewheezy4.3.17-1+deb7u2DLA-1335-1
zshsourcejessie5.0.7-5+deb8u2ELA-316-1
zshsourcestretch5.3.1-4+deb9u1DLA-2470-1
zshsource(unstable)5.4.2-4low894044

Notes

[jessie] - zsh <no-dsa> (Minor issue)
https://sourceforge.net/p/zsh/code/ci/679b71ec4d852037fe5f73d35bf557b0f406c8d4
https://bugzilla.redhat.com/show_bug.cgi?id=1553531

Search for package or bug name: Reporting problems