Improper Input Validation Affecting python38:3.8/python38-pyyaml package, versions <0:5.4.1-1.module+el8.4.0+10706+5c295a3e


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.32% (71st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL8-PYTHON38-4057423
  • published26 Jul 2021
  • disclosed22 Jul 2020

Introduced: 22 Jul 2020

CVE-2020-14343  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade RHEL:8 python38:3.8/python38-pyyaml to version 0:5.4.1-1.module+el8.4.0+10706+5c295a3e or higher.
This issue was patched in RHSA-2021:2583.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python38:3.8/python38-pyyaml package and not the python38:3.8/python38-pyyaml package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

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 Scores

version 3.1