CVE-2020-1747
Description
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.
How to fix
- pyyaml pyyaml5.3.1 or later
- pyyaml5.3.1 or later
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WORRFHPQVAFKKXXWLSSW6XKUYLWM6CSH/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZBJA3SGNJKCAYPSHOHWY3KBCWNM5NYK2/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/K5HEPD7LEVDPCITY5IMDYWXUMX37VFMY/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MMQXSZXNJT6ERABJZAAICI3DQSQLCP3D/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7PPAS6C4SZRDQLR7C22A5U3QOLXY33JX/
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pyyaml pyyaml | 5.1 ≤ v < 5.3.1 | 5.3.1 |
| fedoraproject fedora | 30, 31, 32, 33 | — |
| opensuse leap | 15.1 | — |
| oracle communications_cloud_native_core_network_function_cloud_native_environment | 22.1.0 | — |
| pyyamlPyPI | 5.1b7 ≤ v < 5.3.1, 5.1 ≤ v < 5.3.1 | 5.3.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.