Vulnérabilités / CVE-2018-7548

critique

CVE-2018-7548

zsh: null-pointer deref when using ${(PA)...} on an empty array result

Publiée Modifiée CWE 476
Dans la Trivy database depuis au moins le 24 oct. 2026, 07:11 UTCLa date d'entrée avant ce build n'est pas enregistrée.

Sévérité par source

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

Le label propre à Trivy est CRITICAL. Critique selon NVD, Photon OS. Plus basse selon Ubuntu (moyenne), Red Hat (faible), Amazon (faible).

Description

In subst.c in zsh through 5.4.2, there is a NULL pointer dereference when using ${(PA)...} on an empty array result.

Paquets affectés et versions corrigées

SourcePaquetCorrigé en
Photon OS 2.0zsh5.3.1-5.ph2
amazon linux 2zsh, zsh-debuginfo, zsh-html5.3.1-7.amzn2
debian 11zsh5.5-1
debian 12zsh5.5-1
debian 13zsh5.5-1
debian 14zsh5.5-1
echozsh5.5-1
ubuntu 17.10zsh5.2-5ubuntu1.1
Afficher les 10 entrées de 8 sources
SourcePaquetCorrigé en
Photon OS 2.0zsh5.3.1-5.ph2
amazon linux 2zsh5.3.1-7.amzn2
amazon linux 2zsh-debuginfo5.3.1-7.amzn2
amazon linux 2zsh-html5.3.1-7.amzn2
debian 11zsh5.5-1
debian 12zsh5.5-1
debian 13zsh5.5-1
debian 14zsh5.5-1
echozsh5.5-1
ubuntu 17.10zsh5.2-5ubuntu1.1

Références

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.