PyPA Advisory Database
PYSEC-2020-176
Details
PyYAML 5.1 through 5.1.2 has insufficient restrictions on the load and load_all functions because of a class deserialization issue, e.g., Popen is a class in the subprocess module. NOTE: this issue exists because of an incomplete fix for CVE-2017-18342.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | pyyaml | From 5.1 before 5.2b1 (fixed in 5.2b1) |
References
- https://www.exploit-db.com/download/47655
- https://github.com/yaml/pyyaml/blob/master/CHANGES
- https://lists.fedoraproject.org/archives/list/[email protected]/message/52N5XS73Z5S4ZN7I7R56ICCPCTKCUV4H/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/33VBUY73AA6CTTYL3LRWHNFDULV7PFPN/
- https://github.com/advisories/GHSA-3pqx-4fqf-j49f