Skip to main content
← All vulnerabilities
CVE-2017-18342PYSEC-2018-49GHSA-RPRW-H62V-C2W7

In PyYAML before 5.1, the yaml.load() API could execute arbitrary code if used with untrusted data.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.1
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • pyyamlPyPI

    fixed in 5.1

References 9

GitHub · yaml/pyyaml

lists.fedoraproject.org

GitHub · marshmallow-code/apispec

security.gentoo.org