CVE-2018-7548
published 2018-02-27CVE-2018-7548: In subst.c in zsh through 5.4.2, there is a NULL pointer dereference when using ${(PA)...} on an empty array result.
PriorityP339critical9.8CVSS 3.0
AVNACLPRNUINSUCHIHAH
EPSS
2.59%
83.8th percentile
In subst.c in zsh through 5.4.2, there is a NULL pointer dereference when using ${(PA)...} on an empty array result.
Affected
9 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| debian | zsh | < zsh 5.5-1 (bookworm) | zsh 5.5-1 (bookworm) |
| zsh | zsh | <= 5.4.2 | — |
| zsh | zsh | >= 0 < 5.5-1 | 5.5-1 |
| zsh | zsh | >= 0 < 5.5-1 | 5.5-1 |
| zsh | zsh | >= 0 < 5.5-1 | 5.5-1 |
| zsh | zsh | >= 0 < 5.5-1 | 5.5-1 |
| zsh | zsh | >= 0 < 5.0.2-3ubuntu6.1 | 5.0.2-3ubuntu6.1 |
| zsh | zsh | >= 0 < 5.1.1-1ubuntu2.1 | 5.1.1-1ubuntu2.1 |
CVSS provenance
nvdv3.09.8CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vendor_debian9.8LOW
vendor_redhat9.8CRITICAL
vendor_ubuntu7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
Zsh vulnerabilities
vendor_ubuntu·2018-03-08·CVSS 7.8
CVE-2014-10070 [HIGH] Zsh vulnerabilities
Title: Zsh vulnerabilities
Summary: Several security issues were fixed in Zsh.
It was discovered that Zsh incorrectly handled certain enviroment variables.
An attacker could possibly use this issue to gain privileged access to the
system. This issue only affected Ubuntu 14.04 LTS. (CVE-2014-10070)
It was discovered that Zsh incorrectly handled certain inputs.
An attacker could possibly use this to execute arbitrary code. This
issue only affected Ubuntu 14.04 LTS. (CVE-2014-10071)
It was discovered that Zsh incorrectly handled some symbolic links.
An attacker could possibly use this to execute arbitrary code. This issue
only affected Ubuntu 14.04 LTS. (CVE-2014-10072)
It was discovered that Zsh incorrectly handled certain errors. An attacker
could possibly use this issue to cause a den
Debian
CVE-2018-7548: zsh - In subst.c in zsh through 5.4.2, there is a NULL pointer dereference when using ...
vendor_debian·2018·CVSS 9.8
CVE-2018-7548 [CRITICAL] CVE-2018-7548: zsh - In subst.c in zsh through 5.4.2, there is a NULL pointer dereference when using ...
In subst.c in zsh through 5.4.2, there is a NULL pointer dereference when using ${(PA)...} on an empty array result.
Scope: local
bookworm: resolved (fixed in 5.5-1)
bullseye: resolved (fixed in 5.5-1)
forky: resolved (fixed in 5.5-1)
sid: resolved (fixed in 5.5-1)
trixie: resolved (fixed in 5.5-1)
Red Hat
zsh: null-pointer deref when using ${(PA)...} on an empty array result
vendor_redhat·2017-03-24·CVSS 9.8
CVE-2018-7548 [CRITICAL] CWE-476 zsh: null-pointer deref when using ${(PA)...} on an empty array result
zsh: null-pointer deref when using ${(PA)...} on an empty array result
In subst.c in zsh through 5.4.2, there is a NULL pointer dereference when using ${(PA)...} on an empty array result.
Package: zsh (Red Hat Enterprise Linux 5) - Not affected
Package: zsh (Red Hat Enterprise Linux 6) - Not affected
Package: zsh (Red Hat Enterprise Linux 7) - Not affected
Package: zsh (Red Hat Enterprise Linux 8) - Not affected
GHSA
GHSA-52h6-vcv4-gr3c: In subst
ghsa_unreviewed·2022-05-14
CVE-2018-7548 [CRITICAL] CWE-476 GHSA-52h6-vcv4-gr3c: In subst
In subst.c in zsh through 5.4.2, there is a NULL pointer dereference when using ${(PA)...} on an empty array result.
OSV
zsh vulnerabilities
osv·2018-03-08·CVSS 7.8
CVE-2014-10070 [HIGH] zsh vulnerabilities
zsh vulnerabilities
It was discovered that Zsh incorrectly handled certain enviroment variables.
An attacker could possibly use this issue to gain privileged access to the
system. This issue only affected Ubuntu 14.04 LTS. (CVE-2014-10070)
It was discovered that Zsh incorrectly handled certain inputs.
An attacker could possibly use this to execute arbitrary code. This
issue only affected Ubuntu 14.04 LTS. (CVE-2014-10071)
It was discovered that Zsh incorrectly handled some symbolic links.
An attacker could possibly use this to execute arbitrary code. This issue
only affected Ubuntu 14.04 LTS. (CVE-2014-10072)
It was discovered that Zsh incorrectly handled certain errors. An attacker
could possibly use this issue to cause a denial of service. (CVE-2016-10714)
It was discovered that Zsh
OSV
CVE-2018-7548: In subst
osv·2018-02-27·CVSS 9.8
CVE-2018-7548 [CRITICAL] CVE-2018-7548: In subst
In subst.c in zsh through 5.4.2, there is a NULL pointer dereference when using ${(PA)...} on an empty array result.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-7548 zsh: null-pointer deref when using ${(PA)...} on an empty array result [fedora-all]
bugzilla·2018-02-27·CVSS 9.8
CVE-2018-7548 [CRITICAL] CVE-2018-7548 zsh: null-pointer deref when using ${(PA)...} on an empty array result [fedora-all]
CVE-2018-7548 zsh: null-pointer deref when using ${(PA)...} on an empty array result [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multipl
Bugzilla
CVE-2018-7548 zsh: null-pointer deref when using ${(PA)...} on an empty array result
bugzilla·2018-02-27·CVSS 9.8
CVE-2018-7548 [CRITICAL] CVE-2018-7548 zsh: null-pointer deref when using ${(PA)...} on an empty array result
CVE-2018-7548 zsh: null-pointer deref when using ${(PA)...} on an empty array result
A flaw was found in zsh prior 5.4.2. There is a null-pointer deref when using ${(PA)...} on an empty array result.
References:
https://sourceforge.net/p/zsh/code/ci/110b13e1090bc31ac1352b28adc2d02b6d25a102
Discussion:
Created zsh tracking bugs for this issue:
Affects: fedora-all [bug 1549842]
---
(In reply to Laura Pardo from comment #0)
> A flaw was found in zsh prior 5.4.2
The commit you refer to landed _after_ the 5.4.2 release of zsh and it has not been included in any stable release of zsh yet.
https://security.gentoo.org/glsa/201805-10https://sourceforge.net/p/zsh/code/ci/110b13e1090bc31ac1352b28adc2d02b6d25a102https://usn.ubuntu.com/3593-1/https://security.gentoo.org/glsa/201805-10https://sourceforge.net/p/zsh/code/ci/110b13e1090bc31ac1352b28adc2d02b6d25a102https://usn.ubuntu.com/3593-1/
2018-02-27
Published