What’s Vulnerable › Vulnerabilities

CVE-2020-1747: Improper Input Validation in PyYAML

Description

A vulnerability was discovered in the PyYAML library in versions before 5.3.1, 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. An attacker could use this flaw to execute arbitrary code on the system by abusing the python/object/new constructor.

Affected products

How to fix

Upgrade to a fixed version: Pyyaml 5.3.1; Pypi Pyyaml 5.3.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2020-1747 or the next vulnerability affects your stack