PT-2020-10462 · None+6 · Pyyaml+6
Published
2019-11-18
·
Updated
2022-01-01
·
CVE-2019-20477
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
PyYAML versions 5.1 through 5.1.2
Description
The issue is related to insufficient restrictions on the
load and load all functions in PyYAML due to a class deserialization problem. This can be exploited, for example, through the Popen class in the subprocess module. The problem arose from an incomplete fix for a previous issue.Recommendations
For PyYAML versions 5.1 through 5.1.2, consider disabling the use of the
load and load all functions until a proper fix is available. Restrict the deserialization of classes to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.Exploit
Deserialization of Untrusted Data
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Almalinux
Astra Linux
Centos
Pyyaml
Red Hat
Rocky Linux