CVE-2018-7548

critical
New! CVE Severity Now Using CVSS v3

The calculated severity for CVEs has been updated to use CVSS v3 by default. CVEs that do not have a CVSS v3 score will fall back CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Description

In subst.c in zsh through 5.4.2, there is a NULL pointer dereference when using ${(PA)...} on an empty array result.

References

https://security.gentoo.org/glsa/201805-10

https://sourceforge.net/p/zsh/code/ci/110b13e1090bc31ac1352b28adc2d02b6d25a102

https://usn.ubuntu.com/3593-1/

Details

Source: MITRE

Published: 2018-02-27

Updated: 2019-03-05

Type: CWE-476

Risk Information

CVSS v2

Base Score: 7.5

Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P

Impact Score: 6.4

Exploitability Score: 10

Severity: HIGH

CVSS v3

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Impact Score: 5.9

Exploitability Score: 3.9

Severity: CRITICAL

Vulnerable Software

Configuration 1

OR

cpe:2.3:a:zsh:zsh:*:*:*:*:*:*:*:* versions up to 5.4.2 (inclusive)

Configuration 2

OR

cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*

Tenable Plugins

View all (9 total)

IDNameProductFamilySeverity
121928Photon OS 2.0: Zsh PHSA-2018-2.0-0028NessusPhotonOS Local Security Checks
critical
121145Slackware 14.0 / 14.1 / 14.2 : zsh (SSA:2019-013-01)NessusSlackware Local Security Checks
critical
120817Fedora 28 : zsh (2018-d2dcdbb051)NessusFedora Local Security Checks
critical
111292Photon OS 2.0 : zsh (PhotonOS-PHSA-2018-2.0-0028) (deprecated)NessusPhotonOS Local Security Checks
critical
110174GLSA-201805-10 : Zsh: Multiple vulnerabilitiesNessusGentoo Local Security Checks
critical
109139Amazon Linux 2 : zsh (ALAS-2018-986)NessusAmazon Linux Local Security Checks
critical
108506Fedora 26 : zsh (2018-9cdf18a850)NessusFedora Local Security Checks
critical
108306Fedora 27 : zsh (2018-019a32a468)NessusFedora Local Security Checks
critical
107257Ubuntu 14.04 LTS / 16.04 LTS / 17.10 : zsh vulnerabilities (USN-3593-1)NessusUbuntu Local Security Checks
critical