{"id":"CVE-2017-18342","state":"PUBLISHED","title":"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' ha","description":"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.","publishedAt":"2018-06-27T12:00:00.000Z","updatedAt":"2024-08-05T21:20:50.850Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://github.com/yaml/pyyaml/pull/74","https://github.com/yaml/pyyaml/blob/master/CHANGES","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M6JCFGEIEOFMWWIXGHSELMKQDD4CV2BA/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KSQQMRUQSXBSUXLCRD3TSZYQ7SEZRKCE/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JEX7IPV5P2QJITAMA5Z63GQCZA5I6NVZ/","https://github.com/marshmallow-code/apispec/issues/278","https://github.com/yaml/pyyaml/issues/193","https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load%28input%29-Deprecation","https://security.gentoo.org/glsa/202003-45"],"weaknesses":[],"ingestedAt":"2026-10-29T19:43:31.374Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2017/18xxx/CVE-2017-18342.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2017-18342","state":"PUBLISHED","datePublished":"2018-06-27T12:00:00.000Z","dateUpdated":"2024-08-05T21:20:50.850Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2018-06-27T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"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/","name":"FEDORA-2019-bed9afe622","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KSQQMRUQSXBSUXLCRD3TSZYQ7SEZRKCE/","name":"FEDORA-2019-779a9db46a","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JEX7IPV5P2QJITAMA5Z63GQCZA5I6NVZ/","name":"FEDORA-2019-44643e8bcb","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","name":"GLSA-202003-45","tags":["vendor-advisory","x_refsource_GENTOO"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2020-03-19T20:06:10.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2018-06-27T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2017-18342","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://github.com/yaml/pyyaml/pull/74","refsource":"MISC","url":"https://github.com/yaml/pyyaml/pull/74"},{"name":"https://github.com/yaml/pyyaml/blob/master/CHANGES","refsource":"MISC","url":"https://github.com/yaml/pyyaml/blob/master/CHANGES"},{"name":"FEDORA-2019-bed9afe622","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/M6JCFGEIEOFMWWIXGHSELMKQDD4CV2BA/"},{"name":"FEDORA-2019-779a9db46a","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KSQQMRUQSXBSUXLCRD3TSZYQ7SEZRKCE/"},{"name":"FEDORA-2019-44643e8bcb","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JEX7IPV5P2QJITAMA5Z63GQCZA5I6NVZ/"},{"name":"https://github.com/marshmallow-code/apispec/issues/278","refsource":"MISC","url":"https://github.com/marshmallow-code/apispec/issues/278"},{"name":"https://github.com/yaml/pyyaml/issues/193","refsource":"MISC","url":"https://github.com/yaml/pyyaml/issues/193"},{"name":"https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation","refsource":"MISC","url":"https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation"},{"name":"GLSA-202003-45","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/202003-45"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/yaml/pyyaml/pull/74","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/yaml/pyyaml/blob/master/CHANGES","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M6JCFGEIEOFMWWIXGHSELMKQDD4CV2BA/","name":"FEDORA-2019-bed9afe622","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KSQQMRUQSXBSUXLCRD3TSZYQ7SEZRKCE/","name":"FEDORA-2019-779a9db46a","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JEX7IPV5P2QJITAMA5Z63GQCZA5I6NVZ/","name":"FEDORA-2019-44643e8bcb","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://github.com/marshmallow-code/apispec/issues/278","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/yaml/pyyaml/issues/193","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load%28input%29-Deprecation","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202003-45","name":"GLSA-202003-45","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T21:20:50.850Z"}}]}}}