CVE-2020-1747

Summary

CVECVE-2020-1747
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2020-03-24 15:15:00 UTC
Updated2023-11-07 03:19:00 UTC
DescriptionA 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.

Risk And Classification

Problem Types: CWE-20

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Fedoraproject Fedora 30 All All All
Operating System Fedoraproject Fedora 31 All All All
Operating System Fedoraproject Fedora 32 All All All
Operating System Fedoraproject Fedora 33 All All All
Operating System Fedoraproject Fedora 30 All All All
Operating System Fedoraproject Fedora 31 All All All
Operating System Fedoraproject Fedora 32 All All All
Operating System Fedoraproject Fedora 33 All All All
Operating System Opensuse Leap 15.1 All All All
Operating System Opensuse Leap 15.1 All All All
Application Oracle Communications Cloud Native Core Network Function Cloud Native Environment 22.1.0 All All All
Application Pyyaml Pyyaml All All All All
Application Pyyaml Pyyaml All All All All

References

ReferenceSourceLinkTags
1807367 – (CVE-2020-1747) CVE-2020-1747 PyYAML: arbitrary command execution through python/object/new when FullLoader is used CONFIRM bugzilla.redhat.com Issue Tracking, Patch, Third Party Advisory
[SECURITY] Fedora 31 Update: PyYAML-5.3.1-1.fc31 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 33 Update: PyYAML-5.4.1-1.fc33 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 32 Update: PyYAML-5.4.1-1.fc32 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] Fedora 30 Update: PyYAML-5.3.1-1.fc30 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[security-announce] openSUSE-SU-2020:0630-1: important: Security update SUSE lists.opensuse.org Mailing List, Third Party Advisory
[security-announce] openSUSE-SU-2020:0507-1: important: Security update SUSE lists.opensuse.org Mailing List, Third Party Advisory
[SECURITY] Fedora 32 Update: PyYAML-5.4.1-1.fc32 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 31 Update: PyYAML-5.3.1-1.fc31 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org Third Party Advisory
[SECURITY] Fedora 32 Update: PyYAML-5.3.1-1.fc32 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 33 Update: PyYAML-5.4.1-1.fc33 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org Third Party Advisory
[SECURITY] Fedora 30 Update: PyYAML-5.3.1-1.fc30 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org Third Party Advisory
[SECURITY] Fedora 32 Update: PyYAML-5.3.1-1.fc32 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org Third Party Advisory
Prevents arbitrary code execution during python/object/new constructor by ret2libc · Pull Request #386 · yaml/pyyaml · GitHub MISC github.com Patch, Third Party Advisory
Oracle Critical Patch Update Advisory - July 2022 N/A www.oracle.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 159654 Oracle Enterprise Linux Security Update for python38:3.8 (ELSA-2020-4641)
  • 239895 Red Hat Update for Satellite 6.10 (RHSA-2021:4702)
  • 296067 Oracle Solaris 11.4 Support Repository Update (SRU) 33.94.0 Missing (CPUAPR2021)
  • 500783 Alpine Linux Security Update for py3-yaml
  • 504336 Alpine Linux Security Update for py3-yaml
  • 670312 EulerOS Security Update for PyYAML (EulerOS-SA-2021-1912)
  • 670367 EulerOS Security Update for PyYAML (EulerOS-SA-2021-1958)
  • 670388 EulerOS Security Update for PyYAML (EulerOS-SA-2021-1937)
  • 710880 Gentoo Linux PyYAML Arbitrary Code Execution Vulnerability (GLSA 202402-33)
  • 751033 SUSE Enterprise Linux Security Update for python-PyYAML (SUSE-SU-2021:2818-1)
  • 752486 SUSE Enterprise Linux Security Update for python-PyYAML (SUSE-SU-2022:2841-1)
  • 904835 Common Base Linux Mariner (CBL-Mariner) Security Update for PyYAML (12297)
  • 904864 Common Base Linux Mariner (CBL-Mariner) Security Update for mozjs60 (12381)
  • 904988 Common Base Linux Mariner (CBL-Mariner) Security Update for PyYAML (12457)
  • 907545 Common Base Linux Mariner (CBL-Mariner) Security Update for PyYAML (31783-1)
  • 940211 AlmaLinux Security Update for python38:3.8 (ALSA-2020:4641)
  • 960347 Rocky Linux Security Update for python38:3.8 (RLSA-2020:4641)
  • 981293 Python (pip) Security Update for pyyaml (GHSA-6757-jp84-gxfx)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report