CVE-2017-18205

high
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 builtin.c in zsh before 5.4, when sh compatibility mode is used, there is a NULL pointer dereference during processing of the cd command with no argument if HOME is not set.

References

https://access.redhat.com/errata/RHSA-2018:3073

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

https://sourceforge.net/p/zsh/code/ci/eb783754bdb74377f3cea4ceca9c23a02ea1bf58

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

Details

Source: MITRE

Published: 2018-02-27

Updated: 2018-10-31

Type: CWE-476

Risk Information

CVSS v2

Base Score: 6.8

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

Impact Score: 6.4

Exploitability Score: 8.6

Severity: MEDIUM

CVSS v3

Base Score: 8.1

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

Impact Score: 5.9

Exploitability Score: 2.2

Severity: HIGH

Vulnerable Software

Configuration 1

OR

cpe:2.3:a:zsh_project:zsh:*:*:*:*:*:*:*:*

Tenable Plugins

View all (17 total)

IDNameProductFamilySeverity
135302Photon OS 2.0: Zsh PHSA-2020-2.0-0222NessusPhotonOS Local Security Checks
high
127273NewStart CGSL CORE 5.04 / MAIN 5.04 : zsh Multiple Vulnerabilities (NS-SA-2019-0070)NessusNewStart CGSL Local Security Checks
critical
121145Slackware 14.0 / 14.1 / 14.2 : zsh (SSA:2019-013-01)NessusSlackware Local Security Checks
critical
119524EulerOS 2.0 SP3 : zsh (EulerOS-SA-2018-1396)NessusHuawei Local Security Checks
critical
119466Amazon Linux AMI : zsh (ALAS-2018-1107)NessusAmazon Linux Local Security Checks
critical
119204Scientific Linux Security Update : zsh on SL7.x x86_64 (20181030)NessusScientific Linux Local Security Checks
critical
118989CentOS 7 : zsh (CESA-2018:3073)NessusCentOS Local Security Checks
critical
118769Oracle Linux 7 : zsh (ELSA-2018-3073)NessusOracle Linux Local Security Checks
critical
118524RHEL 7 : zsh (RHSA-2018:3073)NessusRed Hat Local Security Checks
critical
110174GLSA-201805-10 : Zsh: Multiple vulnerabilitiesNessusGentoo Local Security Checks
critical
109489EulerOS 2.0 SP2 : zsh (EulerOS-SA-2018-1091)NessusHuawei Local Security Checks
critical
109488EulerOS 2.0 SP1 : zsh (EulerOS-SA-2018-1090)NessusHuawei Local Security Checks
critical
109384openSUSE Security Update : zsh (openSUSE-2018-399)NessusSuSE Local Security Checks
critical
109355SUSE SLED12 / SLES12 Security Update : zsh (SUSE-SU-2018:1072-1)NessusSuSE 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
107257Ubuntu 14.04 LTS / 16.04 LTS / 17.10 : zsh vulnerabilities (USN-3593-1)NessusUbuntu Local Security Checks
critical