CVE-2014-10070
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.
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
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 16.04 | zsh | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | zsh | Fixed | 5.0.2-3ubuntu6.1 | UBUNTU-CVE-2014-10070 |
| Debian 14 | zsh | Fixed | 5.0.7-3 | DEBIAN-CVE-2014-10070 |
| Debian 13 | zsh | Fixed | 5.0.7-3 | DEBIAN-CVE-2014-10070 |
| Debian 12 | zsh | Fixed | 5.0.7-3 | DEBIAN-CVE-2014-10070 |
| Red Hat Enterprise Linux 8 | zsh | Not affected | ||
| Red Hat Enterprise Linux 8 | zsh-html | Not affected | ||
| Red Hat Enterprise Linux 7 | zsh | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | zsh-html | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | zsh | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | zsh-html | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 5 | zsh | Will not fix Will not fix |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://usn.ubuntu.com/3593-1/ (vendor-advisory)
References
- https://usn.ubuntu.com/3593-1/
- https://sourceforge.net/p/zsh/code/ci/546203a770cec329e73781c3c8ab1078390aee72
- http://zsh.sourceforge.net/releases.html
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.