GitHub Advisoryadvisory · PyPI
GHSA-3pqx-4fqf-j49f Deserialization of Untrusted Data in PyYAML
CRITICAL
Official page ↗
- Aliases
- CVE-2019-20477
- Ecosystem
- PyPI
- Packages
- pyyaml
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-502
- Reviewed
- 2021-04-08
Affected packages
• PyPI pyyaml: >= 5.1, < 5.2 → fixed in 5.2
Description
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.
Related
Alias · CVE (1)
- CVE-2019-20477 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.,… vulnerability
Weakness · CWE (1)
- CWE-502 Deserialization of Untrusted Data weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-20477 advisory
- https://github.com/advisories/GHSA-3pqx-4fqf-j49f advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/pyyaml/PYSEC-2020-176.yaml web
- https://github.com/yaml/pyyaml package
- https://github.com/yaml/pyyaml/blob/master/CHANGES web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/33VBUY73AA6CTTYL3LRWHNFDULV7PFPN web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/52N5XS73Z5S4ZN7I7R56ICCPCTKCUV4H web
- https://www.exploit-db.com/download/47655 web