PT-2021-3478 · Pypi+9 · Pyyaml+9
Ahmed Shah
+1
·
Published
2020-05-27
·
Updated
2025-12-29
·
CVE-2020-14343
CVSS v3.1
10
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 prior to 5.4
Description
A flaw in the PyYAML library allows for arbitrary code execution when processing untrusted YAML files through the
full load method or with the FullLoader loader. This issue enables an attacker to execute arbitrary code on the system by exploiting the python/object/new constructor. The vulnerability is due to incomplete input validation when handling untrusted input, which can be exploited by a remote attacker using a specially crafted file.Recommendations
For versions prior to 5.4, consider avoiding the use of the
full load method or the FullLoader loader when processing untrusted YAML files until a patch is available. As a temporary workaround, restrict the processing of untrusted input to minimize the risk of exploitation.Exploit
Fix
Use After Free
RCE
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Alt Linux
Almalinux
Astra Linux
Centos
Linuxmint
Pyyaml
Red Hat
Rocky Linux
Suse
Ubuntu