VulnerabilityModified
CVE-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.
CRITICAL 9.8EPSS 2.54%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (2.54%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
In subst.c in zsh through 5.4.2, there is a NULL pointer dereference when using ${(PA)...} on an empty array result.
- CVSS 3.0
- 9.8 CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 2.54% probability · 84th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-476
- Affected
- zsh/zsh · canonical/ubuntu linux
- Source
- cve@mitre.org
References
- https://security.gentoo.org/glsa/201805-10Third Party Advisory
- https://sourceforge.net/p/zsh/code/ci/110b13e1090bc31ac1352b28adc2d02b6d25a102Patch, Third Party Advisory
- https://usn.ubuntu.com/3593-1/Third Party Advisory
- https://security.gentoo.org/glsa/201805-10Third Party Advisory
- https://sourceforge.net/p/zsh/code/ci/110b13e1090bc31ac1352b28adc2d02b6d25a102Patch, Third Party Advisory
- https://usn.ubuntu.com/3593-1/Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.