CVE-2014-10071
zsh: buffer overflow for very long fds in >& fd syntax
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Amazon (medium), Oracle (medium), Ubuntu (medium), Red Hat (low).
Description
In exec.c in zsh before 5.0.7, there is a buffer overflow for very long fds in the ">& fd" syntax.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| amazon linux 1 | zsh, zsh-debuginfo, zsh-html | 5.0.2-31.17.amzn1 |
| debian 11 | zsh | 5.0.7-3 |
| debian 12 | zsh | 5.0.7-3 |
| debian 13 | zsh | 5.0.7-3 |
| debian 14 | zsh | 5.0.7-3 |
| debian 7 | zsh | 4.3.17-1+deb7u1 |
| echo | zsh | 5.0.7-3 |
| Oracle Linux 7 | zsh, zsh-html | 5.0.2-31.el7 |
| Red Hat | zsh, zsh-html | no fix listed |
| ubuntu 14.04 | zsh | 5.0.2-3ubuntu6.1 |
| ubuntu 17.10 | zsh | 5.2-5ubuntu1.1 |
Show all 15 entries from 11 sources
| Source | Package | Fixed in |
|---|---|---|
| amazon linux 1 | zsh | 5.0.2-31.17.amzn1 |
| amazon linux 1 | zsh-debuginfo | 5.0.2-31.17.amzn1 |
| amazon linux 1 | zsh-html | 5.0.2-31.17.amzn1 |
| debian 11 | zsh | 5.0.7-3 |
| debian 12 | zsh | 5.0.7-3 |
| debian 13 | zsh | 5.0.7-3 |
| debian 14 | zsh | 5.0.7-3 |
| debian 7 | zsh | 4.3.17-1+deb7u1 |
| echo | zsh | 5.0.7-3 |
| Oracle Linux 7 | zsh | 5.0.2-31.el7 |
| Oracle Linux 7 | zsh-html | 5.0.2-31.el7 |
| Red Hat | zsh | no fix listed |
| Red Hat | zsh-html | no fix listed |
| ubuntu 14.04 | zsh | 5.0.2-3ubuntu6.1 |
| ubuntu 17.10 | zsh | 5.2-5ubuntu1.1 |
References
- https://access.redhat.com/errata/RHSA-2018:3073
- https://access.redhat.com/security/cve/CVE-2014-10071
- https://linux.oracle.com/cve/CVE-2014-10071.html
- https://linux.oracle.com/errata/ELSA-2018-3073.html
- https://nvd.nist.gov/vuln/detail/CVE-2014-10071
- https://sourceforge.net/p/zsh/code/ci/49a3086bb67575435251c70ee598e2fd406ef055
- https://ubuntu.com/security/notices/USN-3593-1
- https://usn.ubuntu.com/3593-1/