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 :
Nov. 21, 2024, 5:03 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 80 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).
None
Dockerfile Python HTML
Intentionally vulnerable AI application for AISBOM security scanning demo with Trend Vision One
Dockerfile Python
Purposefully vulnerable Flask app for security tooling development
platform-engineering
Python HTML
Security scanner for AI-generated (vibe-coded) code. Catches the vulnerabilities that Cursor, Bolt, Lovable, and Replit Agent generate but never warn you about.
ai bolt cli code-audit cursor developer-tools devsecops lovable python sast scanner security static-analysis vibe-coding vulnerability
Python
AI-powered Git repository intelligence in your terminal. Scan any repo and get instant insights about code health, architecture, dependencies, and risks.
ai cli code-analysis code-quality code-review developer-tools devops git health-check open-source python repository-analysis sast security static-analysis terminal
Python
A single dependency that automatically prevents crashes, security exploits, and bad API responses in production.
Python Rust
host ai agent baseline check
Shell
DevSecOps CI/CD pipeline with GitHub Actions, CodeQL, Trivy, and Gitleaks
Dockerfile Python HCL
None
Dockerfile Python
DevSecOps CI/CD pipeline with GitHub Actions, CodeQL, Trivy, and Gitleaks
Dockerfile Python HCL
a demo project showing how to detect vulnerable dependencies in a Python/Flask application using various dependency scanning tools.
Python
Optidock
docker
Python
None
Dockerfile Python HCL
None
Python Batchfile
A demo project showing how to detect vulnerable dependencies using various dependency scanning tools.
Python
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 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