Vulnerability
CVE-2017-18342
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.
12 advisories report this vulnerability, across 6 ecosystems.
Advisories
-
DEBIAN-CVE-2017-18342
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…
-
ELSA-2022-9341
ELSA-2022-9341: ol-automation-manager security update (IMPORTANT)
-
GHSA-rprw-h62v-c2w7
PyYAML insecurely deserializes YAML strings leading to arbitrary code execution
-
PYSEC-2018-49
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…
-
RHVEX-CVE-2017-18342
PyYAML: yaml.load() API could execute arbitrary code
-
UBUNTU-CVE-2017-18342
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…
-
openSUSE-SU-2024:11108-1
oci-cli-3.0.2-1.2 on GA media
-
openSUSE-SU-2024:11210-1
python36-PyYAML-5.4.1-1.6 on GA media
-
openSUSE-SU-2024:14089-1
python310-PyYAML-6.0.1-4.1 on GA media
-
openSUSE-SU-2024:14152-1
python310-openapi-spec-validator-0.7.1-1.3 on GA media
-
openSUSE-SU-2026:11192-1
python313-openapi-spec-validator-0.9.0-1.1 on GA media
-
openSUSE-SU-2026:11996-1
python313-PyYAML-6.0.3-1.6 on GA media
References
- https://github.com/marshmallow-code/apispec/issues/278
- https://github.com/yaml/pyyaml/blob/master/CHANGES
- https://github.com/yaml/pyyaml/issues/193
- https://github.com/yaml/pyyaml/pull/74
- https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load%28input%29-Deprecation
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JEX7IPV5P2QJITAMA5Z63GQCZA5I6NVZ/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KSQQMRUQSXBSUXLCRD3TSZYQ7SEZRKCE/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M6JCFGEIEOFMWWIXGHSELMKQDD4CV2BA/
- https://security.gentoo.org/glsa/202003-45