PYSEC-2018-49
Dashboard / Vulnerabilities / PYSEC-2018-49
PYSEC-2018-49
Summary:
Details: 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.
References: https://github.com/yaml/pyyaml/pull/74, https://github.com/yaml/pyyaml/blob/master/CHANGES, https://lists.fedoraproject.org/archives/list/[email protected]/message/M6JCFGEIEOFMWWIXGHSELMKQDD4CV2BA/, https://lists.fedoraproject.org/archives/list/[email protected]/message/KSQQMRUQSXBSUXLCRD3TSZYQ7SEZRKCE/, https://lists.fedoraproject.org/archives/list/[email protected]/message/JEX7IPV5P2QJITAMA5Z63GQCZA5I6NVZ/, https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation, https://github.com/marshmallow-code/apispec/issues/278, https://github.com/yaml/pyyaml/issues/193, https://security.gentoo.org/glsa/202003-45, https://github.com/advisories/GHSA-rprw-h62v-c2w7
Affected packages
Package
Name: pyyaml
Purl: pkg:pypi/pyyaml
Affected ranges
Type: ECOSYSTEM
Events:
