{"schema_version":"1.7.3","id":"GHSA-3pqx-4fqf-j49f","published":"2021-04-20T16:40:42Z","modified":"2024-10-25T21:23:11.506576Z","aliases":["CVE-2019-20477","PYSEC-2020-176"],"summary":"Deserialization of Untrusted Data in PyYAML","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":[{"package":{"name":"pyyaml","ecosystem":"PyPI","purl":"pkg:pypi/pyyaml"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.1"},{"fixed":"5.2"}]}],"versions":["5.1","5.1.1","5.1.2","5.2b1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-3pqx-4fqf-j49f/GHSA-3pqx-4fqf-j49f.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-20477"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-3pqx-4fqf-j49f"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pyyaml/PYSEC-2020-176.yaml"},{"type":"PACKAGE","url":"https://github.com/yaml/pyyaml"},{"type":"WEB","url":"https://github.com/yaml/pyyaml/blob/master/CHANGES"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/33VBUY73AA6CTTYL3LRWHNFDULV7PFPN"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/52N5XS73Z5S4ZN7I7R56ICCPCTKCUV4H"},{"type":"WEB","url":"https://www.exploit-db.com/download/47655"}],"database_specific":{"cwe_ids":["CWE-502"],"github_reviewed":true,"github_reviewed_at":"2021-04-08T19:24:04Z","nvd_published_at":"2020-02-19T04:15:00Z","severity":"CRITICAL"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}