Schwachstellen / CVE-2018-0502

kritisch

CVE-2018-0502

zsh: Improper parsing of the shebang line with special chars

Veröffentlicht Geändert CWE 20
In der Trivy Database seit spätestens 24. Okt. 2026, 07:11 UTCWann der Eintrag vor diesem Build hinzukam, ist nicht erfasst.

Einstufung nach Quelle

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

Trivys eigenes Label ist CRITICAL. Kritisch laut NVD, Photon OS. Niedriger laut Red Hat (mittel), Amazon (mittel), Ubuntu (mittel).

Beschreibung

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.

Betroffene Pakete und behobene Versionen

QuellePaketBehoben in
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 8zshkein Fix angegeben
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
Alle 16 Einträge aus 14 Quellen zeigen
QuellePaketBehoben in
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 8zshkein Fix angegeben
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

Referenzen

Alle 10 Referenzen

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.