Live threats

All CVEs / Pyyaml

CVE-2020-14343Pyyaml

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
6.2%
probability of exploitation in 30 days · percentile 94
Auth required
No
Published
Feb 9, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

A vulnerability was discovered in the PyYAML library in versions before 5.4, 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. This flaw allows an attacker to execute arbitrary code on the system by abusing the python/object/new constructor. This flaw is due to an incomplete fix for CVE-2020-1747.

Original NVD text.

What to do

  1. Apply the vendor's security update for Pyyaml.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI pyyaml < 5.4 5.4 pip install "pyyaml>=5.4"
PyPI pyyaml < 5.4 5.4 pip install "pyyaml>=5.4"

Per OSV / GitHub Advisories (GHSA-8q59-q68h-6hv4, PYSEC-2021-142). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
pyyamlpyyaml≥ 5.1 < 5.4
oraclecommunications_cloud_native_core_network_function_cloud_native_environment1.10.0
oraclecommunications_cloud_native_core_network_function_cloud_native_environment22.1.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.