PT-2020-10462 · None+6 · Pyyaml+6

Published

2019-11-18

·

Updated

2022-01-01

·

CVE-2019-20477

CVSS v3.1

9.8

Critical

VectorAV: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

ALSA-2020:4641
ALT-PU-2021-1521
ALT-PU-2021-1534
CESA-2020_4641
CVE-2019-20477
GHSA-3PQX-4FQF-J49F
PYSEC-2020-176
RHSA-2020:4641
RHSA-2020_4641
RLSA-2020:4641

Affected Products

Alt Linux
Almalinux
Astra Linux
Centos
Pyyaml
Red Hat
Rocky Linux