CVE-2020-14343
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v4.0•CRITICAL•Score: 9.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- v3.1•CRITICAL•Score: 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- v2.0•HIGH•Score: 10AV:N/AC:L/Au:N/C:C/I:C/A:C
EPSS Trends
Current EPSS score: 13.70%• Percentile: 94%
Techniques & Countermeasures
- CWE-20•Improper Input Validation
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
Affected Systems
- oracle•communications_cloud_native_core_network_function_cloud_native_environment
1.10.0 | 22.1.0
- PyPI•pyyaml
< 5.4
- pyyaml•pyyaml
≥ 5.1, < 5.4
References (12)
- https://github.com/yaml/pyyaml/issues/420
- https://bugzilla.redhat.com/show_bug.cgi?id=1860466
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://github.com/SeldonIO/seldon-core/issues/2252
- https://nvd.nist.gov/vuln/detail/CVE-2020-14343
- https://github.com/yaml/pyyaml/issues/420#issuecomment-663673966
- https://github.com/yaml/pyyaml/commit/a001f2782501ad2d24986959f0239a354675f9dc
- https://github.com/advisories/GHSA-8q59-q68h-6hv4
- https://github.com/pypa/advisory-database/tree/main/vulns/pyyaml/PYSEC-2021-142.yaml
- https://github.com/yaml/pyyaml
- https://pypi.org/project/PyYAML