ADVISORIES

GitHub Advisory Database

GHSA-3pqx-4fqf-j49f

Deserialization of Untrusted Data in PyYAML

Details

PyYAML 5.1 through 5.1.2 has insufficient restrictions on the load and load_all functions because of a class deserialization issue, e.g., Popen is a class in the subprocess module. NOTE: this issue exists because of an incomplete fix for CVE-2017-18342.

Affected packages

EcosystemPackageAffected versions
PyPIpyyaml
From 5.1 before 5.2 (fixed in 5.2)

References