{"id":"CVE-2017-18342","published":"2018-06-27T12:00:00Z","modified":"2024-08-05T21:20:50Z","title":"In PyYAML before 5.1, the yaml.load() API could execute arbitrary code if used with untrusted data","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.05656,"percentile":0.9297,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/yaml/pyyaml/pull/74","tags":["x_refsource_MISC"]},{"url":"https://github.com/yaml/pyyaml/blob/master/CHANGES","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M6JCFGEIEOFMWWIXGHSELMKQDD4CV2BA/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KSQQMRUQSXBSUXLCRD3TSZYQ7SEZRKCE/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JEX7IPV5P2QJITAMA5Z63GQCZA5I6NVZ/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://github.com/marshmallow-code/apispec/issues/278","tags":["x_refsource_MISC"]},{"url":"https://github.com/yaml/pyyaml/issues/193","tags":["x_refsource_MISC"]},{"url":"https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load%28input%29-Deprecation","tags":["x_refsource_MISC"]},{"url":"https://security.gentoo.org/glsa/202003-45","tags":["vendor-advisory","x_refsource_GENTOO"]}],"priority":{"score":18.6,"factors":[{"name":"EPSS percentile","points":18.59}]},"affected":[{"ecosystem":"PyPI","package":"PyYAML","vulnerableRanges":["<5.1"],"patched":["5.1"],"from":["GHSA-rprw-h62v-c2w7","PYSEC-2018-49"],"provenance":"source"}],"euvd":{"id":"EUVD-2018-0128","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-pyyaml-cve-2017-18342","children":[{"from":"CVE-2017-18342","to":"CVE-2019-20477","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"NOTE: this issue exists because of an incomplete fix for CVE-2017-18342.","from":"CVE.org","in":"CVE-2019-20477"}]}]}}