PYSEC-2020-96

Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/pyyaml/PYSEC-2020-96.yaml
Aliases
Published
2020-03-24T15:15:00Z
Modified
2023-11-08T04:02:41.577356Z
Details

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.

References

Affected packages

PyPI / pyyaml

Package

Name
pyyaml

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.1
Fixed
5.3.1

Affected versions

5.*

5.1
5.1.1
5.1.2
5.2b1
5.2
5.3b1
5.3