Skip to content
OpenAdvisories
Unscored CVE-2014-10070 EUVD-2014-1137GHSA-4x2g-x3r2-29r6

zsh before 5.0.7 allows evaluation of the initial values of integer variables imported from the environment (instead of treating them as li…

Published Feb 27, 2018 · Updated Aug 6, 2024 · Assigned by mitre

Description

zsh before 5.0.7 allows evaluation of the initial values of integer variables imported from the environment (instead of treating them as literal numbers). That could allow local privilege escalation, under some specific and atypical conditions where zsh is being invoked in privilege-elevation contexts when the environment has not been properly sanitized, such as when zsh is invoked by sudo on systems where "env_reset" has been disabled.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 zsh 5.0.7-3 —
Debian 13 zsh 5.0.7-3 —
Debian 12 zsh 5.0.7-3 —
Debian 7 zsh 4.3.17-1+deb7u1 DLA-1304-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS zsh 5.1.1-1ubuntu2.1 USN-3593-1
Ubuntu 14.04 LTS zsh 5.0.2-3ubuntu6.1 USN-3593-1
ReleasePackageFixed inAdvisory
SLES 12 SP3 zsh 5.0.5-6.7.2 SUSE-SU-2018:1072-1
SLES 11 SP4 zsh 4.3.6-67.9.8.1 SUSE-SU-2022:14910-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP3 zsh 5.0.5-6.7.2 SUSE-SU-2018:1072-1
SUSE Linux Enterprise Point of Sale 11 SP3 zsh 4.3.6-67.9.8.1 SUSE-SU-2022:14910-1

Advisories 4

References