PYSEC-2020-96

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/pyyaml/PYSEC-2020-96.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2020-96
Aliases
Published
2020-03-24T15:15:00Z
Modified
2023-11-01T05:44:40.124410Z
Summary
[none]
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

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