CVE-2020-1747

CRITICAL

PyYAML < 5.3.1 - Remote Code Execution via python/object/new Constructor

Title source: llm
STIX 2.1

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.

References (10)

Core 10
Core References
Mailing List, Third Party Advisory vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00017.html
Mailing List, Third Party Advisory vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00017.html
Patch, Third Party Advisory x_refsource_misc
https://www.oracle.com/security-alerts/cpujul2022.html
Issue Tracking, Patch, Third Party Advisory x_refsource_confirm
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1747
Patch, Third Party Advisory x_refsource_misc
https://github.com/yaml/pyyaml/pull/386

Scores

CVSS v3 9.8
EPSS 0.0185
EPSS Percentile 83.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-20
Status published
Products (8)
fedoraproject/fedora 30
fedoraproject/fedora 31
fedoraproject/fedora 32
fedoraproject/fedora 33
opensuse/leap 15.1
oracle/communications_cloud_native_core_network_function_cloud_native_environment 22.1.0
pypi/pyyaml 5.1b7 - 5.3.1PyPI
pyyaml/pyyaml 5.1 - 5.3.1
Published Mar 24, 2020
Tracked Since Feb 18, 2026