Vulnerabilidades / CVE-2017-18342

crítica

CVE-2017-18342

PyYAML: yaml.load() API could execute arbitrary code

Publicada Modificada CWE 502
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.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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

Descripción

In PyYAML before 5.1, the yaml.load() API could execute arbitrary code if used with untrusted data. The load() function has been deprecated in version 5.1 and the 'UnsafeLoader' has been introduced for backward compatibility with the function.

Paquetes afectados y versiones corregidas

FuentePaqueteCorregido en
Photon OS 1.0PyYAML3.12-3.ph1
Photon OS 2.0PyYAML3.12-3.ph2
Photon OS 3.0PyYAML3.13-3.ph3
pip::GitHub Security Advisory pippyyaml5.1
debian 11pyyaml5.1.2-1
debian 12pyyaml5.1.2-1
debian 13pyyaml5.1.2-1
debian 14pyyaml5.1.2-1
echopyyaml5.1.2-1
Oracle Linux 8ol-automation-manager, ol-automation-manager-cli, python3-olamkit1.0.2-1.el8
Red HatPyYAML, python2-pyyaml, python27-PyYAML y 3 mássin corrección indicada
Mostrar las 18 entradas de 11 fuentes
FuentePaqueteCorregido en
Photon OS 1.0PyYAML3.12-3.ph1
Photon OS 2.0PyYAML3.12-3.ph2
Photon OS 3.0PyYAML3.13-3.ph3
pip::GitHub Security Advisory pippyyaml5.1
debian 11pyyaml5.1.2-1
debian 12pyyaml5.1.2-1
debian 13pyyaml5.1.2-1
debian 14pyyaml5.1.2-1
echopyyaml5.1.2-1
Oracle Linux 8ol-automation-manager1.0.2-1.el8
Oracle Linux 8ol-automation-manager-cli1.0.2-1.el8
Oracle Linux 8python3-olamkit1.0.2-1.el8
Red HatPyYAMLsin corrección indicada
Red Hatpython2-pyyamlsin corrección indicada
Red Hatpython27-PyYAMLsin corrección indicada
Red Hatpython38-pyyamlsin corrección indicada
Red Hatpython39-pyyamlsin corrección indicada
Red Hatrh-python36-PyYAMLsin corrección indicada

Referencias

Las 21 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.