{"cve":"CVE-2017-18342","nvd":{"published":"2018-06-27T12:29:00.210","modified":"2026-06-17T01:12:39.040","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-502"],"references":["https://github.com/marshmallow-code/apispec/issues/278","https://github.com/yaml/pyyaml/blob/master/CHANGES","https://github.com/yaml/pyyaml/issues/193","https://github.com/yaml/pyyaml/pull/74","https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load%28input%29-Deprecation"],"products":["fedoraproject:fedora","pyyaml:pyyaml"],"source":"nvd","synced_at":"2026-10-19T20:51:47.459859389+00:00"},"epss":{"cve":"CVE-2017-18342","score":0.05656,"percentile":0.9297,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-rprw-h62v-c2w7","url":"https://osv.dev/vulnerability/GHSA-rprw-h62v-c2w7","summary":"PyYAML insecurely deserializes YAML strings leading to arbitrary code execution","modified":"2026-07-01T17:45:34.796248930Z","packages":[{"ecosystem":"PyPI","name":"pyyaml","purl":"pkg:pypi/pyyaml","ranges":["<5.1"],"fixed":["5.1"]}]},{"id":"PYSEC-2018-49","url":"https://osv.dev/vulnerability/PYSEC-2018-49","summary":"","modified":"2023-11-08T03:59:15.614863Z","packages":[{"ecosystem":"PyPI","name":"pyyaml","purl":"pkg:pypi/pyyaml","ranges":["<5.1"],"fixed":["5.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}