CVSS 3.1
9.8 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCritical (9.8). EPSS 5.4% estimated probability of exploitation activity in the next 30 days. Fixed in pyyaml 5.3.1.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Hpyyaml (PyPI): fixed in 5.3.1Explain CVE-2020-1747 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-1747?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-1747?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-1747 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| pyyaml:pyyaml | from 5.1 before 5.3.1 |
| 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 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-6757-jp84-gxfx | PyPI | pyyaml | >=5.1b7 <5.3.1 | 5.3.1 |
| PYSEC-2020-96 | PyPI | pyyaml | >=5.1 <5.3.1 | 5.3.1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | pyyaml | 5.3-2 | DEBIAN-CVE-2020-1747 |
| Red Hat | enterprise_linux:8::appstream | Cython, python38-Cython, Cython-debugsource and 1 more | 0:0.29.14-4.module+el8.2.0+5234+f98739b6 | RHSA-2020:4641 |
| Red Hat | enterprise_linux:8::appstream | PyYAML, python38-pyyaml, PyYAML-debugsource and 1 more | 0:5.3.1-1.module+el8.3.0+7187+a27ec44b | RHSA-2020:4641 |
| Red Hat | enterprise_linux:8::appstream | babel, python38-babel | 0:2.7.0-10.module+el8.2.0+5234+f98739b6 | RHSA-2020:4641 |
| Red Hat | enterprise_linux:8::appstream | mod_wsgi, python38-mod_wsgi | 0:4.6.8-3.module+el8.2.0+5234+f98739b6 | RHSA-2020:4641 |
| Red Hat | enterprise_linux:8::appstream | numpy, python38-numpy, numpy-debugsource and 3 more | 0:1.17.3-5.module+el8.3.0+7187+a27ec44b | RHSA-2020:4641 |
| Red Hat | enterprise_linux:8::appstream | python-PyMySQL, python38-PyMySQL | 0:0.9.3-3.module+el8.2.0+5234+f98739b6 | RHSA-2020:4641 |
| Red Hat | enterprise_linux:8::appstream | python-asn1crypto, python38-asn1crypto | 0:1.2.0-3.module+el8.2.0+5234+f98739b6 | RHSA-2020:4641 |
| Red Hat | enterprise_linux:8::appstream | python-cffi, python38-cffi, python-cffi-debugsource and 1 more | 0:1.13.2-3.module+el8.2.0+5234+f98739b6 | RHSA-2020:4641 |
| Red Hat | enterprise_linux:8::appstream | python-chardet, python38-chardet | 0:3.0.4-19.module+el8.2.0+5234+f98739b6 | RHSA-2020:4641 |
| Red Hat | enterprise_linux:8::appstream | python-cryptography, python38-cryptography, python-cryptography-debugsource and 1 more | 0:2.8-3.module+el8.2.0+5234+f98739b6 | RHSA-2020:4641 |
| Red Hat | enterprise_linux:8::appstream | python-idna, python38-idna | 0:2.8-6.module+el8.2.0+5234+f98739b6 | RHSA-2020:4641 |
| Red Hat | enterprise_linux:8::appstream | python-jinja2, python38-jinja2 | 0:2.10.3-4.module+el8.2.0+5234+f98739b6 | RHSA-2020:4641 |
| 16 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Enterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise High Availability Extension 12 SP1 and 19 more | python-PyYAML | 5.1.2-26.12.1 | SUSE-SU-2020:1285-1 |
| SUSE | Linux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Module for Public Cloud 15 and 2 more | python-PyYAML | 5.1.2-150000.3.6.1 | SUSE-SU-2022:2841-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP1, Linux Enterprise Module for Python 2 15 SP1 | python-PyYAML | 5.1.2-6.6.1 | SUSE-SU-2020:0959-1 |
| openSUSE | Leap 15.1 | python-PyYAML | 5.1.2-lp151.2.13.1 | openSUSE-SU-2020:0630-1 |
| openSUSE | Leap 15.1 | python-PyYAML | 5.1.2-lp151.2.6.1 | openSUSE-SU-2020:0507-1 |
| AlmaLinux | 8 | python38-Cython | 0.29.14-4.module_el8.6.0+2778+cd494b30 | ALSA-2020:4641 ALSA-2021:2583 |
| AlmaLinux | 8 | python38-PyMySQL | 0.10.1-1.module_el8.6.0+2778+cd494b30 | ALSA-2021:2583 |
| AlmaLinux | 8 | python38-asn1crypto | 1.2.0-3.module_el8.6.0+2778+cd494b30 | ALSA-2020:4641 ALSA-2021:2583 |
| AlmaLinux | 8 | python38-atomicwrites | 1.3.0-8.module_el8.4.0+2510+cb4d423d | ALSA-2021:2583 |
| AlmaLinux | 8 | python38-atomicwrites | 1.3.0-8.module_el8.6.0+2778+cd494b30 | ALSA-2021:2583 |
| AlmaLinux | 8 | python38-attrs | 19.3.0-3.module_el8.4.0+2510+cb4d423d | ALSA-2021:2583 |
| AlmaLinux | 8 | python38-attrs | 19.3.0-3.module_el8.6.0+2778+cd494b30 | ALSA-2021:2583 |
| AlmaLinux | 8 | python38-cffi | 1.13.2-3.module_el8.6.0+2778+cd494b30 | ALSA-2020:4641 ALSA-2021:2583 |
| AlmaLinux | 8 | python38-chardet | 3.0.4-19.module_el8.6.0+2778+cd494b30 | ALSA-2020:4641 ALSA-2021:2583 |
| AlmaLinux | 8 | python38-cryptography | 2.8-3.module_el8.6.0+2778+cd494b30 | ALSA-2020:4641 ALSA-2021:2583 |
| AlmaLinux | 8 | python38-idna | 2.8-6.module_el8.6.0+2778+cd494b30 | ALSA-2020:4641 ALSA-2021:2583 |
| AlmaLinux | 8 | python38-markupsafe | 1.1.1-6.module_el8.6.0+2778+cd494b30 | ALSA-2020:4641 ALSA-2021:2583 |
| 24 more for AlmaLinux in the JSON. | ||||
| Rocky Linux | 8 | Cython | 0:0.29.14-4.module+el8.4.0+570+c2eaf144 | RLSA-2020:4641 |
| Rocky Linux | 8 | PyYAML | 0:5.3.1-1.module+el8.4.0+570+c2eaf144 | RLSA-2020:4641 |
| Rocky Linux | 8 | babel | 0:2.7.0-10.module+el8.4.0+570+c2eaf144 | RLSA-2020:4641 |
| Rocky Linux | 8 | mod_wsgi | 0:4.6.8-3.module+el8.4.0+570+c2eaf144 | RLSA-2020:4641 |
| Rocky Linux | 8 | numpy | 0:1.17.3-5.module+el8.4.0+570+c2eaf144 | RLSA-2020:4641 |
| Rocky Linux | 8 | python-asn1crypto | 0:1.2.0-3.module+el8.4.0+570+c2eaf144 | RLSA-2020:4641 |
| Rocky Linux | 8 | python-cffi | 0:1.13.2-3.module+el8.4.0+570+c2eaf144 | RLSA-2020:4641 |
| Rocky Linux | 8 | python-chardet | 0:3.0.4-19.module+el8.4.0+570+c2eaf144 | RLSA-2020:4641 |
| Rocky Linux | 8 | python-cryptography | 0:2.8-3.module+el8.4.0+570+c2eaf144 | RLSA-2020:4641 |
| Rocky Linux | 8 | python-cryptography | 0:2.8-3.module+el8.5.0+672+ab6eb015 | RLSA-2020:4641 |
| Rocky Linux | 8 | python-idna | 0:2.8-6.module+el8.4.0+570+c2eaf144 | RLSA-2020:4641 |
| Rocky Linux | 8 | python-jinja2 | 0:2.10.3-4.module+el8.4.0+570+c2eaf144 | RLSA-2020:4641 |
| 14 more for Rocky Linux in the JSON. | ||||
| Alpine | v3.11, v3.12, v3.13 and 11 more | py3-yaml | 5.3.1-r0 | ALPINE-CVE-2020-1747 |
| Azure Linux | 2 | PyYAML | 5.4.1-1 | AZL-31783 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Moderate.
Red Hat Quay 3.2 uses the vulnerable load function, but only to parse the Nginx configuration file, which only contains trusted data.
Use `yaml.safe_load` or the SafeLoader loader when you parse untrusted input.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | python38:3.8-8030020200818121840.4190259b | Fixed 2020-11-04 | RHSA-2020:4641 |
| Red Hat Enterprise Linux 6 | PyYAML | Not affected | |
| Red Hat Enterprise Linux 7 | PyYAML | Not affected | |
| Red Hat Enterprise Linux 8 | python27:2.7/PyYAML | Not affected | |
| Red Hat Enterprise Linux 8 | PyYAML | Not affected | |
| Red Hat Enterprise Linux 9 | PyYAML | Not affected | |
| Red Hat OpenStack Platform 10 (Newton) | PyYAML | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | PyYAML | Not affected | |
| Red Hat Quay 3 | python-PyYAML | Will not fix | |
| Red Hat Software Collections | python27-PyYAML | Not affected | |
| Red Hat Software Collections | rh-python36-PyYAML | Not affected | |
| Red Hat Software Collections | rh-python38-PyYAML | Affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-1747.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).