CVE-2020-14343: Input Validation

Published Jul 22, 2020
·
Updated

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 fullload 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.

Other sources

A vulnerability was discovered in the PyYAML library, where it is susceptible to arbitrary code execution when it processes untrusted YAML files through the fullload 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.

The fix made in PyYAML for CVE-2020-1747 was not sufficient to resolve the issue.

Reference: https://github.com/yaml/pyyaml/issues/420

Red Hat

Affected Software

6 affected componentsFixes available
redhat/python-pyyaml<0:5.4.1-1.el7
0:5.4.1-1.el7
redhat/PyYAML<5.4
5.4
pip/PyYAML<5.4
5.4
PyYAML PyYAML>=5.1<5.4
Oracle Communications Cloud Native Core Network Function Cloud Native Environment=1.10.0
Oracle Communications Cloud Native Core Network Function Cloud Native Environment=22.1.0

Remediation

Information

Use `yaml.safe_load` or the SafeLoader loader when you parse untrusted input.

Event History

Jul 22, 2020
CVE Published
12:00 AM
Feb 9, 2021
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via NVD·09:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Mar 25, 2021
Advisory Published
via GitHub·09:26 PM

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2020-14343?

CVE-2020-14343 is a vulnerability in the PyYAML library that allows arbitrary code execution.

2

What is the severity of CVE-2020-14343?

The severity of CVE-2020-14343 is critical with a CVSS score of 9.8.

3

Which software versions are affected by CVE-2020-14343?

Versions before 5.4 of the PyYAML library, PyYAML package 5.4, python-pyyaml package up to 0:5.4.1-1.el7, and certain versions of Oracle Communications Cloud Native Core Network Function Cloud Native Environment are affected by CVE-2020-14343.

4

How can I fix CVE-2020-14343?

Update the PyYAML library or the affected software to version 5.4 or higher.

5

Where can I find more information about CVE-2020-14343?

You can find more information about CVE-2020-14343 on the NIST National Vulnerability Database (NVD), GitHub, and Red Hat Bugzilla.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203