Vulnerabilidades / CVE-2018-0502

crítica

CVE-2018-0502

zsh: Improper parsing of the shebang line with special chars

Publicada Modificada CWE 20
En la Trivy database desde, como mínimo, el 24 oct 2026, 07:11 UTCNo consta cuándo entró antes de ese build.

Severidad por fuente

NVD9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat5.3CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L

La etiqueta propia de Trivy es CRITICAL. Crítica según NVD, Photon OS. Más baja según Red Hat (media), Amazon (media), Ubuntu (media).

Descripción

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.

Paquetes afectados y versiones corregidas

FuentePaqueteCorregido en
Photon OS 2.0zsh5.3.1-9.ph2
amazon linux 2zsh, zsh-debuginfo, zsh-html5.5.1-2.amzn2.0.1
debian 11zsh5.6-1
debian 12zsh5.6-1
debian 13zsh5.6-1
debian 14zsh5.6-1
debian 8zshsin corrección indicada
debian 9zsh5.3.1-4+deb9u1
echozsh5.6-1
ubuntu 14.04zsh5.0.2-3ubuntu6.3
ubuntu 16.04zsh5.1.1-1ubuntu2.3
ubuntu 16.04-ESMzsh5.1.1-1ubuntu2.3
Mostrar las 16 entradas de 14 fuentes
FuentePaqueteCorregido en
Photon OS 2.0zsh5.3.1-9.ph2
amazon linux 2zsh5.5.1-2.amzn2.0.1
amazon linux 2zsh-debuginfo5.5.1-2.amzn2.0.1
amazon linux 2zsh-html5.5.1-2.amzn2.0.1
debian 11zsh5.6-1
debian 12zsh5.6-1
debian 13zsh5.6-1
debian 14zsh5.6-1
debian 8zshsin corrección indicada
debian 9zsh5.3.1-4+deb9u1
echozsh5.6-1
ubuntu 14.04zsh5.0.2-3ubuntu6.3
ubuntu 16.04zsh5.1.1-1ubuntu2.3
ubuntu 16.04-ESMzsh5.1.1-1ubuntu2.3
ubuntu 18.04zsh5.4.2-3ubuntu3.1
ubuntu 18.04-ESMzsh5.4.2-3ubuntu3.1

Referencias

Las 10 referencias

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.