CVE-2020-1747
published critical CVSS 3.1 · 9.8PyYAML: arbitrary command execution through python/object/new when FullLoader is used
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | PyYAML5.3.1 | Affected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Red Hat Enterprise Linux | RHEL-8 | PyYAMLsrc | Advisory build | 5.3.1-1.module+el8.3.0+7187+a27ec44b | RHSA-2020:4641 |
| AlmaLinux | 8 | python38-Cython | Advisory build | 0.29.14-4.module_el8.6.0+2778+cd494b30 | ALSA-2020:4641 |
| Alpine Linux | edge | py3-yaml | Fixed | 5.3.1-r0 | Package fix record |
| Oracle Linux | 8 | python38aarch64 · python38 · 3.8b | Advisory build | 0:3.8.3-3.module+el8.3.0+7824+e0098946 | ELSA-2020-4641 |
| AlmaLinux | 8 | python38-Cython | Advisory build | 0.29.14-4.module_el8.6.0+2778+cd494b30 | ALSA-2021:2583 |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | python38-PyMySQL | Advisory build | 0.10.1-1.module_el8.6.0+2778+cd494b30 | ALSA-2021:2583 |
| AlmaLinux | 8 | python38-asn1crypto | Advisory build | 1.2.0-3.module_el8.6.0+2778+cd494b30 | ALSA-2020:4641 |
| AlmaLinux | 8 | python38-asn1crypto | Advisory build | 1.2.0-3.module_el8.6.0+2778+cd494b30 | ALSA-2021:2583 |
| AlmaLinux | 8 | python38-atomicwrites | Advisory build | 1.3.0-8.module_el8.4.0+2510+cb4d423d | ALSA-2021:2583 |
| AlmaLinux | 8 | python38-atomicwrites | Advisory build | 1.3.0-8.module_el8.6.0+2778+cd494b30 | ALSA-2021:2583 |
| AlmaLinux | 8 | python38-attrs | Advisory build | 19.3.0-3.module_el8.4.0+2510+cb4d423d | ALSA-2021:2583 |
| AlmaLinux | 8 | python38-attrs | Advisory build | 19.3.0-3.module_el8.6.0+2778+cd494b30 | ALSA-2021:2583 |
| AlmaLinux | 8 | python38-cffi | Advisory build | 1.13.2-3.module_el8.6.0+2778+cd494b30 | ALSA-2020:4641 |
| AlmaLinux | 8 | python38-cffi | Advisory build | 1.13.2-3.module_el8.6.0+2778+cd494b30 | ALSA-2021:2583 |
| AlmaLinux | 8 | python38-chardet | Advisory build | 3.0.4-19.module_el8.6.0+2778+cd494b30 | ALSA-2020:4641 |
| AlmaLinux | 8 | python38-chardet | Advisory build | 3.0.4-19.module_el8.6.0+2778+cd494b30 | ALSA-2021:2583 |
| AlmaLinux | 8 | python38-cryptography | Advisory build | 2.8-3.module_el8.6.0+2778+cd494b30 | ALSA-2020:4641 |
| AlmaLinux | 8 | python38-cryptography | Advisory build | 2.8-3.module_el8.6.0+2778+cd494b30 | ALSA-2021:2583 |
| AlmaLinux | 8 | python38-idna | Advisory build | 2.8-6.module_el8.6.0+2778+cd494b30 | ALSA-2020:4641 |
| AlmaLinux | 8 | python38-idna | Advisory build | 2.8-6.module_el8.6.0+2778+cd494b30 | ALSA-2021:2583 |
| AlmaLinux | 8 | python38-markupsafe | Advisory build | 1.1.1-6.module_el8.6.0+2778+cd494b30 | ALSA-2020:4641 |
| AlmaLinux | 8 | python38-markupsafe | Advisory build | 1.1.1-6.module_el8.6.0+2778+cd494b30 | ALSA-2021:2583 |
| AlmaLinux | 8 | python38-mod_wsgi | Advisory build | 4.6.8-3.module_el8.6.0+2778+cd494b30 | ALSA-2020:4641 |
| AlmaLinux | 8 | python38-mod_wsgi | Advisory build | 4.6.8-3.module_el8.6.0+2778+cd494b30 | ALSA-2021:2583 |
| AlmaLinux | 8 | python38-more-itertools | Advisory build | 7.2.0-5.module_el8.4.0+2510+cb4d423d | ALSA-2021:2583 |
| AlmaLinux | 8 | python38-more-itertools | Advisory build | 7.2.0-5.module_el8.6.0+2778+cd494b30 | ALSA-2021:2583 |
| AlmaLinux | 8 | python38-packaging | Advisory build | 19.2-3.module_el8.4.0+2510+cb4d423d | ALSA-2021:2583 |
| AlmaLinux | 8 | python38-packaging | Advisory build | 19.2-3.module_el8.6.0+2778+cd494b30 | ALSA-2021:2583 |
| AlmaLinux | 8 | python38-pluggy | Advisory build | 0.13.0-3.module_el8.4.0+2510+cb4d423d | ALSA-2021:2583 |
| AlmaLinux | 8 | python38-pluggy | Advisory build | 0.13.0-3.module_el8.6.0+2778+cd494b30 | ALSA-2021:2583 |
| AlmaLinux | 8 | python38-ply | Advisory build | 3.11-10.module_el8.6.0+2778+cd494b30 | ALSA-2021:2583 |
| AlmaLinux | 8 | python38-psycopg2 | Advisory build | 2.8.4-4.module_el8.6.0+2778+cd494b30 | ALSA-2020:4641 |
| AlmaLinux | 8 | python38-psycopg2 | Advisory build | 2.8.4-4.module_el8.6.0+2778+cd494b30 | ALSA-2021:2583 |
| AlmaLinux | 8 | python38-psycopg2-doc | Advisory build | 2.8.4-4.module_el8.6.0+2778+cd494b30 | ALSA-2020:4641 |
| AlmaLinux | 8 | python38-psycopg2-doc | Advisory build | 2.8.4-4.module_el8.6.0+2778+cd494b30 | ALSA-2021:2583 |
| AlmaLinux | 8 | python38-psycopg2-tests | Advisory build | 2.8.4-4.module_el8.6.0+2778+cd494b30 | ALSA-2020:4641 |
| AlmaLinux | 8 | python38-psycopg2-tests | Advisory build | 2.8.4-4.module_el8.6.0+2778+cd494b30 | ALSA-2021:2583 |
| AlmaLinux | 8 | python38-py | Advisory build | 1.8.0-8.module_el8.4.0+2510+cb4d423d | ALSA-2021:2583 |
| AlmaLinux | 8 | python38-py | Advisory build | 1.8.0-8.module_el8.6.0+2778+cd494b30 | ALSA-2021:2583 |
| AlmaLinux | 8 | python38-pycparser | Advisory build | 2.19-3.module_el8.6.0+2778+cd494b30 | ALSA-2020:4641 |
| AlmaLinux | 8 | python38-pycparser | Advisory build | 2.19-3.module_el8.6.0+2778+cd494b30 | ALSA-2021:2583 |
| AlmaLinux | 8 | python38-pyparsing | Advisory build | 2.4.5-3.module_el8.4.0+2510+cb4d423d | ALSA-2021:2583 |
| AlmaLinux | 8 | python38-pyparsing | Advisory build | 2.4.5-3.module_el8.6.0+2778+cd494b30 | ALSA-2021:2583 |
| AlmaLinux | 8 | python38-pysocks | Advisory build | 1.7.1-4.module_el8.6.0+2778+cd494b30 | ALSA-2020:4641 |
| AlmaLinux | 8 | python38-pysocks | Advisory build | 1.7.1-4.module_el8.6.0+2778+cd494b30 | ALSA-2021:2583 |
| AlmaLinux | 8 | python38-pytest | Advisory build | 4.6.6-3.module_el8.4.0+2510+cb4d423d | ALSA-2021:2583 |
| AlmaLinux | 8 | python38-pytest | Advisory build | 4.6.6-3.module_el8.6.0+2778+cd494b30 | ALSA-2021:2583 |
| AlmaLinux | 8 | python38-pytz | Advisory build | 2019.3-3.module_el8.6.0+2778+cd494b30 | ALSA-2020:4641 |
| AlmaLinux | 8 | python38-pytz | Advisory build | 2019.3-3.module_el8.6.0+2778+cd494b30 | ALSA-2021:2583 |
| AlmaLinux | 8 | python38-pyyaml | Advisory build | 5.4.1-1.module_el8.6.0+2778+cd494b30 | ALSA-2021:2583 |
| AlmaLinux | 8 | python38-requests | Advisory build | 2.22.0-9.module_el8.6.0+2778+cd494b30 | ALSA-2020:4641 |
| AlmaLinux | 8 | python38-requests | Advisory build | 2.22.0-9.module_el8.6.0+2778+cd494b30 | ALSA-2021:2583 |
| AlmaLinux | 8 | python38-scipy | Advisory build | 1.3.1-4.module_el8.6.0+2778+cd494b30 | ALSA-2020:4641 |
| AlmaLinux | 8 | python38-scipy | Advisory build | 1.3.1-4.module_el8.6.0+2778+cd494b30 | ALSA-2021:2583 |
| AlmaLinux | 8 | python38-six | Advisory build | 1.12.0-10.module_el8.6.0+2778+cd494b30 | ALSA-2021:2583 |
| AlmaLinux | 8 | python38-wcwidth | Advisory build | 0.1.7-16.module_el8.4.0+2510+cb4d423d | ALSA-2021:2583 |
| AlmaLinux | 8 | python38-wcwidth | Advisory build | 0.1.7-16.module_el8.6.0+2778+cd494b30 | ALSA-2021:2583 |
| Alpine Linux | v3.11 | py3-yaml | Fixed | 5.3.1-r0 | Package fix record |
| Alpine Linux | v3.12 | py3-yaml | Fixed | 5.3.1-r0 | Package fix record |
| Alpine Linux | v3.13 | py3-yaml | Fixed | 5.3.1-r0 | Package fix record |
| Alpine Linux | v3.14 | py3-yaml | Fixed | 5.3.1-r0 | Package fix record |
| Alpine Linux | v3.15 | py3-yaml | Fixed | 5.3.1-r0 | Package fix record |
| Alpine Linux | v3.16 | py3-yaml | Fixed | 5.3.1-r0 | Package fix record |
| Alpine Linux | v3.17 | py3-yaml | Fixed | 5.3.1-r0 | Package fix record |
| Alpine Linux | v3.18 | py3-yaml | Fixed | 5.3.1-r0 | Package fix record |
| Alpine Linux | v3.19 | py3-yaml | Fixed | 5.3.1-r0 | Package fix record |
| Alpine Linux | v3.20 | py3-yaml | Fixed | 5.3.1-r0 | Package fix record |
| Alpine Linux | v3.21 | py3-yaml | Fixed | 5.3.1-r0 | Package fix record |
| Alpine Linux | v3.22 | py3-yaml | Fixed | 5.3.1-r0 | Package fix record |
| Alpine Linux | v3.23 | py3-yaml | Fixed | 5.3.1-r0 | Package fix record |
| Alpine Linux | v3.24 | py3-yaml | Fixed | 5.3.1-r0 | Package fix record |
| Oracle Linux | 8 | python38x86_64 · python38 · 3.8b | Advisory build | 0:3.8.3-3.module+el8.3.0+7824+e0098946 | ELSA-2020-4641 |
| Oracle Linux | 8 | python38-Cythonaarch64 · python38 · 3.8b | Advisory build | 0:0.29.14-4.module+el8.3.0+7824+e0098946 | ELSA-2020-4641 |
| Oracle Linux | 8 | python38-Cythonx86_64 · python38 · 3.8b | Advisory build | 0:0.29.14-4.module+el8.3.0+7824+e0098946 | ELSA-2020-4641 |
| Oracle Linux | 8 | python38-PyMySQLaarch64 · python38 · 3.8b | Advisory build | 0:0.9.3-3.module+el8.3.0+7824+e0098946 | ELSA-2020-4641 |
| Oracle Linux | 8 | python38-PyMySQLx86_64 · python38 · 3.8b | Advisory build | 0:0.9.3-3.module+el8.3.0+7824+e0098946 | ELSA-2020-4641 |
| Oracle Linux | 8 | python38-asn1cryptoaarch64 · python38 · 3.8b | Advisory build | 0:1.2.0-3.module+el8.3.0+7824+e0098946 | ELSA-2020-4641 |
| Oracle Linux | 8 | python38-asn1cryptox86_64 · python38 · 3.8b | Advisory build | 0:1.2.0-3.module+el8.3.0+7824+e0098946 | ELSA-2020-4641 |
| Oracle Linux | 8 | python38-babelaarch64 · python38 · 3.8b | Advisory build | 0:2.7.0-10.module+el8.3.0+7824+e0098946 | ELSA-2020-4641 |
| Oracle Linux | 8 | python38-babelx86_64 · python38 · 3.8b | Advisory build | 0:2.7.0-10.module+el8.3.0+7824+e0098946 | ELSA-2020-4641 |
| Oracle Linux | 8 | python38-cffiaarch64 · python38 · 3.8b | Advisory build | 0:1.13.2-3.module+el8.3.0+7824+e0098946 | ELSA-2020-4641 |
| Oracle Linux | 8 | python38-cffix86_64 · python38 · 3.8b | Advisory build | 0:1.13.2-3.module+el8.3.0+7824+e0098946 | ELSA-2020-4641 |
| Oracle Linux | 8 | python38-chardetaarch64 · python38 · 3.8b | Advisory build | 0:3.0.4-19.module+el8.3.0+7824+e0098946 | ELSA-2020-4641 |
| Oracle Linux | 8 | python38-chardetx86_64 · python38 · 3.8b | Advisory build | 0:3.0.4-19.module+el8.3.0+7824+e0098946 | ELSA-2020-4641 |
| Oracle Linux | 8 | python38-cryptographyaarch64 · python38 · 3.8b | Advisory build | 0:2.8-3.module+el8.3.0+7824+e0098946 | ELSA-2020-4641 |
| Oracle Linux | 8 | python38-cryptographyx86_64 · python38 · 3.8b | Advisory build | 0:2.8-3.module+el8.3.0+7824+e0098946 | ELSA-2020-4641 |
| Oracle Linux | 8 | python38-debugaarch64 · python38 · 3.8b | Advisory build | 0:3.8.3-3.module+el8.3.0+7824+e0098946 | ELSA-2020-4641 |
| Oracle Linux | 8 | python38-debugx86_64 · python38 · 3.8b | Advisory build | 0:3.8.3-3.module+el8.3.0+7824+e0098946 | ELSA-2020-4641 |
| Oracle Linux | 8 | python38-develaarch64 · python38 · 3.8b | Advisory build | 0:3.8.3-3.module+el8.3.0+7824+e0098946 | ELSA-2020-4641 |
| Oracle Linux | 8 | python38-develx86_64 · python38 · 3.8b | Advisory build | 0:3.8.3-3.module+el8.3.0+7824+e0098946 | ELSA-2020-4641 |
| Oracle Linux | 8 | python38-idleaarch64 · python38 · 3.8b | Advisory build | 0:3.8.3-3.module+el8.3.0+7824+e0098946 | ELSA-2020-4641 |
| Oracle Linux | 8 | python38-idlex86_64 · python38 · 3.8b | Advisory build | 0:3.8.3-3.module+el8.3.0+7824+e0098946 | ELSA-2020-4641 |
| Oracle Linux | 8 | python38-idnaaarch64 · python38 · 3.8b | Advisory build | 0:2.8-6.module+el8.3.0+7824+e0098946 | ELSA-2020-4641 |
| Oracle Linux | 8 | python38-idnax86_64 · python38 · 3.8b | Advisory build | 0:2.8-6.module+el8.3.0+7824+e0098946 | ELSA-2020-4641 |
| Oracle Linux | 8 | python38-jinja2aarch64 · python38 · 3.8b | Advisory build | 0:2.10.3-4.module+el8.3.0+7824+e0098946 | ELSA-2020-4641 |
| Oracle Linux | 8 | python38-jinja2x86_64 · python38 · 3.8b | Advisory build | 0:2.10.3-4.module+el8.3.0+7824+e0098946 | ELSA-2020-4641 |
| Oracle Linux | 8 | python38-libsaarch64 · python38 · 3.8b | Advisory build | 0:3.8.3-3.module+el8.3.0+7824+e0098946 | ELSA-2020-4641 |
| Oracle Linux | 8 | python38-libsx86_64 · python38 · 3.8b | Advisory build | 0:3.8.3-3.module+el8.3.0+7824+e0098946 | ELSA-2020-4641 |
| Oracle Linux | 8 | python38-lxmlaarch64 · python38 · 3.8b | Advisory build | 0:4.4.1-4.module+el8.3.0+7824+e0098946 | ELSA-2020-4641 |
| Oracle Linux | 8 | python38-lxmlx86_64 · python38 · 3.8b | Advisory build | 0:4.4.1-4.module+el8.3.0+7824+e0098946 | ELSA-2020-4641 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | PyYAML | 5.3.1 (affected) | redhat · cna |
Weaknesses
1- CWE-20
References
10- openSUSE-SU-2020:0507 http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00017.html
- openSUSE-SU-2020:0630 http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00017.html
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1747
- https://github.com/yaml/pyyaml/pull/386
- FEDORA-2021-eed7193502 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7PPAS6C4SZRDQLR7C22A5U3QOLXY33JX/
- FEDORA-2020-e9741a6a15 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/K5HEPD7LEVDPCITY5IMDYWXUMX37VFMY/
- FEDORA-2021-3342569a0f https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MMQXSZXNJT6ERABJZAAICI3DQSQLCP3D/
- FEDORA-2020-40c35d7b37 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WORRFHPQVAFKKXXWLSSW6XKUYLWM6CSH/
- FEDORA-2020-bdb0bfa928 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZBJA3SGNJKCAYPSHOHWY3KBCWNM5NYK2/
- https://www.oracle.com/security-alerts/cpujul2022.html
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 0af2bfdfcdfcf7e86942b13e33e089d8d5266f3f7760b1f6211d932181e5f69a
- Ingested
- 23 Sep 2026, 07:49:17 UTC
- Source record
- Official CVE record