CVE-2020-14343
PyYAML YAML Deserialization Arbitrary Code Execution
Description
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.
INFO
Published Date :
Feb. 9, 2021, 9:15 p.m.
Last Modified :
June 17, 2026, 2:54 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
Affected Products
The following products are affected by CVE-2020-14343
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 2.0 | HIGH | [email protected] | ||||
| CVSS 3.1 | CRITICAL | [email protected] |
Solution
- Update PyYAML packages to a version greater than 5.4.
- Update python-yaml and python3-yaml packages, if installed.
Public PoC/Exploit Available at Github
CVE-2020-14343 has a 140 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2020-14343.
| URL | Resource |
|---|---|
| https://bugzilla.redhat.com/show_bug.cgi?id=1860466 | Issue Tracking Third Party Advisory |
| https://github.com/SeldonIO/seldon-core/issues/2252 | |
| https://github.com/yaml/pyyaml/issues/420 | |
| https://www.oracle.com/security-alerts/cpuapr2022.html | Patch Third Party Advisory |
| https://www.oracle.com/security-alerts/cpujul2022.html | Patch Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=1860466 | Issue Tracking Third Party Advisory |
| https://github.com/SeldonIO/seldon-core/issues/2252 | |
| https://github.com/yaml/pyyaml/issues/420 | |
| https://www.oracle.com/security-alerts/cpuapr2022.html | Patch Third Party Advisory |
| https://www.oracle.com/security-alerts/cpujul2022.html | Patch Third Party Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2020-14343 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2020-14343
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Intentionally vulnerable GCP cloud-native surf shop for security workshops (CSPM, runtime, AI SPM demos)
Dockerfile TypeScript JavaScript CSS HCL Shell Python
Intentionally vulnerable Azure cloud-native surf shop for security workshops (CSPM, runtime, AI SPM demos)
Dockerfile TypeScript JavaScript CSS HCL Shell Python
DevSecOps CI/CD pipeline with GitHub Actions, CodeQL, Trivy, and Gitleaks
Python HCL
None
Dockerfile Python JavaScript
CVE Triage Agent
agent ai-agent cve-scanning triage
Dockerfile Python Shell
Intentionally vulnerable AWS cloud-native surf shop for security workshops (CSPM, runtime, AI SPM demos)
Dockerfile TypeScript JavaScript CSS Shell HCL Python
DoD-style DevSecOps software factory: hard-blocking CI security gates, signed images + SBOMs, Kyverno-enforced K8s, NIST 800-53 evidence matrix
cosign devsecops-iac-detected kyverno nist-800-53 sbom stig terraform oscal
Dockerfile Makefile Python Shell HCL
Multi-agent security auditor: real scanners find issues, an independent reviewer verifies each fix. Built for Kaggle's 5-Day AI Agents: Intensive Vibe Coding Course with Google, Agents for Business track.
Python HCL
None
Dockerfile Python HCL
python-fraud-detection-test
Python
This is a project made for testing my another project
Python
None
Dockerfile Python Shell
per test orbit
Dockerfile Python
None
Dockerfile Python
OWASP A06:2025 - Vulnerable and Outdated Components: Test repo with intentionally vulnerable code for security scanning
Dockerfile Python JavaScript
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2020-14343 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2020-14343 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'n/a', 'product': 'PyYAML', 'versions': [{'status': 'affected', 'version': 'PyYAML 5.4'}]}] -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=1860466 Added Reference https://github.com/SeldonIO/seldon-core/issues/2252 Added Reference https://github.com/yaml/pyyaml/issues/420 Added Reference https://www.oracle.com/security-alerts/cpuapr2022.html Added Reference https://www.oracle.com/security-alerts/cpujul2022.html -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Jul. 06, 2023
Action Type Old Value New Value Added Reference https://github.com/SeldonIO/seldon-core/issues/2252 [No Types Assigned] Added Reference https://github.com/yaml/pyyaml/issues/420 [No Types Assigned] -
Modified Analysis by [email protected]
Dec. 06, 2022
Action Type Old Value New Value Changed Reference Type https://www.oracle.com/security-alerts/cpujul2022.html No Types Assigned https://www.oracle.com/security-alerts/cpujul2022.html Patch, Third Party Advisory Changed CPE Configuration OR *cpe:2.3:a:oracle:communications_cloud_native_core_network_function_cloud_native_environment:1.10.0:*:*:*:*:*:*:* OR *cpe:2.3:a:oracle:communications_cloud_native_core_network_function_cloud_native_environment:1.10.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:communications_cloud_native_core_network_function_cloud_native_environment:22.1.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Jul. 25, 2022
Action Type Old Value New Value Added Reference https://www.oracle.com/security-alerts/cpujul2022.html [No Types Assigned] -
Modified Analysis by [email protected]
May. 12, 2022
Action Type Old Value New Value Changed Reference Type https://www.oracle.com/security-alerts/cpuapr2022.html No Types Assigned https://www.oracle.com/security-alerts/cpuapr2022.html Patch, Third Party Advisory Added CWE NIST CWE-20 Added CPE Configuration OR *cpe:2.3:a:oracle:communications_cloud_native_core_network_function_cloud_native_environment:1.10.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Apr. 20, 2022
Action Type Old Value New Value Added Reference https://www.oracle.com/security-alerts/cpuapr2022.html [No Types Assigned] -
Reanalysis by [email protected]
Sep. 29, 2021
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:pyyaml:pyyaml:*:*:*:*:*:*:*:* versions from (including) 5.1 up to (excluding) 5.3.1 OR *cpe:2.3:a:pyyaml:pyyaml:*:*:*:*:*:*:*:* versions from (including) 5.1 up to (excluding) 5.4 -
Reanalysis by [email protected]
Jul. 28, 2021
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:pyyaml:pyyaml:*:*:*:*:*:*:*:* versions up to (excluding) 5.4 OR *cpe:2.3:a:pyyaml:pyyaml:*:*:*:*:*:*:*:* versions from (including) 5.1 up to (excluding) 5.3.1 -
Initial Analysis by [email protected]
Feb. 16, 2021
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:C/I:C/A:C) Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=1860466 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=1860466 Issue Tracking, Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:pyyaml:pyyaml:*:*:*:*:*:*:*:* versions up to (excluding) 5.4