CVE-2020-14343
CRITICAL 9.8CVSS 3.1Improper Input Validation in PyYAML
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.
- Published
- 9 Feb 2021
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- GHSA-8q59-q68h-6hv4PYSEC-2021-142
- Sources
- NVDJSONOSV GHSA-8q59-q68h-6hv4JSONOSV PYSEC-2021-142JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | pyyaml | pyyamlcpe:2.3:a:pyyaml:pyyaml:*:*:*:*:*:*:*:* |
>= 5.1, < 5.4 | 5.4 |
| NVD | oracle | communications_cloud_native_core_network_function_cloud_native_environmentcpe:2.3:a:oracle:communications_cloud_native_core_network_function_cloud_native_environment:1.10.0:*:*:*:*:*:*:* |
= 1.10.0 | |
| NVD | oracle | communications_cloud_native_core_network_function_cloud_native_environmentcpe:2.3:a:oracle:communications_cloud_native_core_network_function_cloud_native_environment:22.1.0:*:*:*:*:*:*:* |
= 22.1.0 | |
| OSV | PyPI | pyyaml | < 5.4 | 5.4 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1860466 · Issue Tracking, Third Party Advisory, WEB, REPORT
- https://github.com/SeldonIO/seldon-core/issues/2252 · WEB
- https://github.com/yaml/pyyaml/issues/420 · WEB
- https://www.oracle.com/security-alerts/cpuapr2022.html · Patch, Third Party Advisory, WEB
- https://www.oracle.com/security-alerts/cpujul2022.html · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-14343 · ADVISORY
- https://github.com/yaml/pyyaml/issues/420#issuecomment-663673966 · WEB
- https://github.com/yaml/pyyaml/commit/a001f2782501ad2d24986959f0239a354675f9dc · WEB
- https://github.com/advisories/GHSA-8q59-q68h-6hv4 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/pyyaml/PYSEC-2021-142.yaml · WEB
- https://github.com/yaml/pyyaml · PACKAGE
- https://pypi.org/project/PyYAML · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 9 Feb 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Feb 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 25 Mar 2021)