PYSEC-2018-49
At a glance
- Published
- Updated
- CVE
- CVE-2017-18342
- Aliases
- GHSA-rprw-h62v-c2w7
Description
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.
Affected packages
| Package | Versions |
|---|---|
| PyPI · pyyaml | introduced 0, fixed 5.1 |
References
- https://github.com/yaml/pyyaml/pull/74 WEB
- https://github.com/yaml/pyyaml/blob/master/CHANGES WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/M6JCFGEIEOFMWWIXGHSELMKQDD4CV2BA/ WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KSQQMRUQSXBSUXLCRD3TSZYQ7SEZRKCE/ WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JEX7IPV5P2QJITAMA5Z63GQCZA5I6NVZ/ WEB
- https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation WEB
- https://github.com/marshmallow-code/apispec/issues/278 REPORT
- https://github.com/yaml/pyyaml/issues/193 REPORT
- https://security.gentoo.org/glsa/202003-45 ADVISORY
- https://github.com/advisories/GHSA-rprw-h62v-c2w7 ADVISORY
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — PyPA Advisory Database |