Skip to main content
← All vulnerabilities
CVE-2020-14343GHSA-8Q59-Q68H-6HV4PYSEC-2021-142

A vulnerability was discovered in the PyYAML library in versions before 5.4, where it is susceptible to arbitrary code execution when it pro

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.4
4 proofs of concept on GitHub

Summary

A vulnerability was discovered in the PyYAML library in versions before 5.4, where it is susceptible to arbitrary code execution when it processes untrusted YAML files through the full_load method or with the FullLoader loader. Applications that use the library to process untrusted input may be vulnerable to this flaw. This flaw allows an attacker to execute arbitrary code on the system by abusing the python/object/new constructor. This flaw is due to an incomplete fix for CVE-2020-1747.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a PyYAML

    PyYAML 5.4

  • pyyamlPyPI

    fixed in 5.4

References 9

GitHub · yaml/pyyaml

bugzilla.redhat.com

oracle.com

GitHub · SeldonIO/seldon-core

GitHub · Kairo-one/CVE-2020-14343-PyYAML

GitHub · j4k0m/loader-CVE-2020-14343

GitHub · saina15/cve-2020-14343-lab

GitHub · sijie52/yasa-cve-2020-14343