Public Date:
1626187: CVE-2018-0502 zsh: Improper parsing of the shebang line with special chars

The MITRE CVE dictionary describes this issue as:

An issue was discovered in zsh before 5.6. The beginning of a #! script file was mishandled, potentially leading to an execve call to a program named on the second line.

Find out more about CVE-2018-0502 from the MITRE CVE dictionary dictionary and NIST NVD.

CVSS v3 metrics

NOTE: The following CVSS v3 metrics and score provided are preliminary and subject to review.

CVSS3 Base Score 5.3
CVSS3 Base Metrics CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
Attack Vector Local
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Unchanged
Confidentiality Low
Integrity Impact Low
Availability Impact Low

Affected Packages State

Platform Package State
Red Hat Enterprise Linux 8 zsh Not affected
Red Hat Enterprise Linux 7 zsh Under investigation
Red Hat Enterprise Linux 6 zsh Under investigation
Red Hat Enterprise Linux 5 zsh Under investigation
Last Modified

CVE description copyright © 2017, The MITRE Corporation