{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2017-18342","published":"2018-06-27T12:29:00.210000Z","last_modified":"2026-06-17T01:12:39.040000Z","status":"Modified","cvss":{"version":"3.1","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","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-502"],"cpes":[{"criteria":"cpe:2.3:a:pyyaml:pyyaml:*:*:*:*:*:*:*:*","part":"a","vendor":"pyyaml","product":"pyyaml","version_end_excluding":"5.1"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:28:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"28"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"29"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"30"}],"cpes_truncated":false,"vendors":["pyyaml","fedoraproject"],"products":["pyyaml/pyyaml","fedoraproject/fedora"],"epss":{"score":0.0481,"percentile":0.92749,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-rprw-h62v-c2w7","ecosystem":"PyPI","name":"pyyaml","purl":"pkg:pypi/pyyaml","ranges":[{"introduced":"0","fixed":"5.1"}],"versions":["3.01","3.02","3.03","3.04","3.05","3.06","3.07","3.08","3.09","3.10","3.11","3.12","3.13","3.13b1","3.13rc1","4.2b1","4.2b2","4.2b4","5.1b1","5.1b3","5.1b5","5.1b7"],"versions_truncated":false},{"advisory":"PYSEC-2018-49","ecosystem":"PyPI","name":"pyyaml","purl":"pkg:pypi/pyyaml","ranges":[{"introduced":"0","fixed":"5.1"}],"versions":["3.01","3.02","3.03","3.04","3.05","3.06","3.07","3.08","3.09","3.10","3.11","3.12","3.13","3.13b1","3.13rc1","4.2b1","4.2b2","4.2b4","5.1b1","5.1b3","5.1b5","5.1b7"],"versions_truncated":false}],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2017-18342/","html_en":"/en/cve/CVE-2017-18342/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-18342","cve_org":"https://www.cve.org/CVERecord?id=CVE-2017-18342"},"untrusted":{"vendor_name":"Pyyaml","product_name":"Pyyaml","desc_en":"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.","affected":[],"references":[{"url":"https://github.com/marshmallow-code/apispec/issues/278","tags":["Third Party Advisory"]},{"url":"https://github.com/yaml/pyyaml/blob/master/CHANGES","tags":["Release Notes","Third Party Advisory"]},{"url":"https://github.com/yaml/pyyaml/issues/193","tags":["Third Party Advisory"]},{"url":"https://github.com/yaml/pyyaml/pull/74","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load%28input%29-Deprecation","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JEX7IPV5P2QJITAMA5Z63GQCZA5I6NVZ/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KSQQMRUQSXBSUXLCRD3TSZYQ7SEZRKCE/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M6JCFGEIEOFMWWIXGHSELMKQDD4CV2BA/","tags":[]},{"url":"https://security.gentoo.org/glsa/202003-45","tags":["Third Party Advisory"]}]}}