Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2020-1747: A vulnerability was discovered in the PyYAML library in versions before 5.3.1, where it is susceptible to arbi

62
This week
CRITICAL 9.8REMOTEUPGRADEMITIGATEMITIGATE

CVE-2020-1747 is a critical-severity flaw (CVSS 9.8) affecting pyyaml, fedora, leap. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • Critical severity
  • EPSS top 7%: very likely to be exploited
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score9.8 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance5.4% (top 7%)
CISA exploited listNo
WeaknessCWE-20
Published2020-03-24
Last modified2026-06-17
Publisher (CNA): Red Hat, Inc. · Vendor: fedoraproject · opensuse · oracle · pyyaml

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

pyyaml pyyaml UPGRADE
Affected: >= 5.1 and < 5.3.1
Fixed in: 5.3.1
Safe to downgrade to: a release before 5.1
1. Check installed version
apt-cache policy pyyaml || rpm -q pyyaml || pyyaml --version
2. UPGRADE to 5.3.1 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade pyyaml
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade pyyaml
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 5.1 (Debian / Ubuntu)
apt-cache madison pyyaml sudo apt install pyyaml=<VERSION_BEFORE_5.1> sudo apt-mark hold pyyaml
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list pyyaml sudo dnf downgrade pyyaml-<VERSION_BEFORE_5.1> sudo dnf versionlock add pyyaml
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
fedoraproject fedora MITIGATE
Affected: 30 · 31 · 32 · 33
Fixed in: no fixed release known
Safe to downgrade to: a release before 30
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
opensuse leap MITIGATE
Affected: 15.1
Fixed in: no fixed release known
Safe to downgrade to: a release before 15.1
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
oracle communications cloud native core network function cloud native environment DOWNGRADE
Affected: 22.1.0
Fixed in: no fixed release known
Safe to downgrade to: a release before 22.1.0
1. Check installed version
apt-cache policy communications-cloud-native-core-network-function-cloud-native-environment || rpm -q communications-cloud-native-core-network-function-cloud-native-environment || communications-cloud-native-core-network-function-cloud-native-environment --version
2. No fixed release: DOWNGRADE to a release before 22.1.0 (Debian / Ubuntu)
apt-cache madison communications-cloud-native-core-network-function-cloud-native-environment sudo apt install communications-cloud-native-core-network-function-cloud-native-environment=<VERSION_BEFORE_22.1.0> sudo apt-mark hold communications-cloud-native-core-network-function-cloud-native-environment
2. No fixed release: DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list communications-cloud-native-core-network-function-cloud-native-environment sudo dnf downgrade communications-cloud-native-core-network-function-cloud-native-environment-<VERSION_BEFORE_22.1.0> sudo dnf versionlock add communications-cloud-native-core-network-function-cloud-native-environment
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2020-1747?

pyyaml: upgrade to 5.3.1; fedora: mitigate or apply the listed mitigation; leap: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.

Is CVE-2020-1747 being exploited?

CVE-2020-1747 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2020-1747 affect?

CVE-2020-1747 affects pyyaml, fedora, leap. Severity is critical (CVSS 9.8). 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. Applicatio

How urgent is CVE-2020-1747?

Priority 62/100. Critical severity; EPSS top 7%: very likely to be exploited; Remotely exploitable, no login, no user action

Software pages

Python vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.