CWE
20
Advisory Published
CVE Published
Advisory Published
Updated

CVE-2020-14343: Input Validation

First published: Wed 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 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.

Credit: secalert@redhat.com secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
redhat/python-pyyaml<0:5.4.1-1.el7
0:5.4.1-1.el7
redhat/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
pip/PyYAML<5.4
5.4

Remedy

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

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2020-14343?

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

  • What is the severity of CVE-2020-14343?

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

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

  • How can I fix CVE-2020-14343?

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

  • 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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203