{"schemaVersion":3,"id":"CVE-2019-20477","aliases":["GHSA-3pqx-4fqf-j49f","PYSEC-2020-176","UBUNTU-CVE-2019-20477","DEBIAN-CVE-2019-20477"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2020-02-19T03:09:21.000Z","modified":"2024-08-05T02:39:10.138Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":9.3,"severity":"critical","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.05114,"percentile":0.92338,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.05114},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.05156,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.05156,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.05156,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.05156,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.05156,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.05018,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.05114,"percentile":0.92338}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.05114,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.05114,"percentile":0.92338}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-502","name":"Deserialization of Untrusted Data","description":"The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/502.html"}],"affected":[{"vendor":"debian","product":"pyyaml","name":"pyyaml","label":"pyyaml","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/pyyaml","purlType":"deb","versions":[{"text":"< 5.2-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.2-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"pyyaml","name":"pyyaml","label":"pyyaml","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/pyyaml","purlType":"deb","versions":[{"text":"< 5.3-1ubuntu2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.3-1ubuntu2","eol":null,"hubHref":null},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"30","noFixRecorded":false,"fixedIn":null},{"text":"31","noFixRecorded":false,"fixedIn":null}],"versionsText":"30 | 31","eol":{"isEol":true,"eolDate":"2020-05-26T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"30","label":"30","eolFrom":"2020-05-26T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"PyPI","product":"pyyaml","name":"pyyaml","label":"pyyaml","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/pyyaml","purlType":"pypi","versions":[{"text":"≥ 5.1, < 5.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.1, < 5.2b1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 5.1, < 5.2 | ≥ 5.1, < 5.2b1","eol":null,"hubHref":null},{"vendor":"pyyaml","product":"pyyaml","name":"pyyaml","label":"pyyaml","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 5.1, ≤ 5.1.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 5.1, ≤ 5.1.2","eol":null,"hubHref":"/vendor/pyyaml/pyyaml"}],"affectedCount":5,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://github.com/yaml/pyyaml/blob/master/CHANGES","label":"github.com/yaml/pyyaml/blob/master/CHANGES","hostname":"github.com","tags":["X Refsource MISC","WEB","REPORT","Release Notes","Third Party Advisory"]},{"url":"https://www.exploit-db.com/download/47655","label":"www.exploit-db.com/download/47655","hostname":"www.exploit-db.com","tags":["X Refsource MISC","WEB","REPORT","Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/52N5XS73Z5S4ZN7I7R56ICCPCTKCUV4H/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/33VBUY73AA6CTTYL3LRWHNFDULV7PFPN/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-20477","label":"nvd.nist.gov/vuln/detail/CVE-2019-20477","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/advisories/GHSA-3pqx-4fqf-j49f","label":"github.com/advisories/GHSA-3pqx-4fqf-j49f","hostname":"github.com","tags":["Advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pyyaml/PYSEC-2020-176.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/pyyaml/PYSEC-2020-176.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/yaml/pyyaml","label":"github.com/yaml/pyyaml","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/33VBUY73AA6CTTYL3LRWHNFDULV7PFPN","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/52N5XS73Z5S4ZN7I7R56ICCPCTKCUV4H","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/52N5XS73Z5S4ZN7I7R56ICCPCTKCUV4H/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/33VBUY73AA6CTTYL3LRWHNFDULV7PFPN/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2019-20477","label":"ubuntu.com/security/CVE-2019-20477","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-20477","label":"www.cve.org/CVERecord?id=CVE-2019-20477","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2019-20477","label":"security-tracker.debian.org/tracker/CVE-2019-20477","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["RHSA-2020:4641"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2020-02-19T03:09:21.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T02:39:10.138Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T23:33:07.704Z","stale":false,"partial":false}}