CVE-2018-0502

CRITICAL

Canonical Ubuntu Linux < 5.6 - Improper Input Validation

Title source: rule
STIX 2.1

Description

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.

References (6)

Core 6
Core References
Mailing List, Patch, Third Party Advisory x_refsource_misc
https://bugs.debian.org/908000
Mailing List, Vendor Advisory x_refsource_misc
https://www.zsh.org/mla/zsh-announce/136
Third Party Advisory vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/3764-1/
Third Party Advisory vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/201903-02
Mailing List mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2020/12/msg00000.html

Scores

CVSS v3 9.8
EPSS 0.0065
EPSS Percentile 71.1%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-20
Status published
Products (4)
canonical/ubuntu_linux 14.04
canonical/ubuntu_linux 16.04
canonical/ubuntu_linux 18.04
zsh/zsh < 5.6
Published Sep 05, 2018
Tracked Since Feb 18, 2026