Improper Input Validation Affecting python2-PyYAML package, versions <5.1.2-150000.3.6.1


Severity

Recommended
0.0
high
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
5.44% (93rd 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-SLES150-PYTHON2PYYAML-2987536
  • published19 Aug 2022
  • disclosed18 Aug 2022

Introduced: 18 Aug 2022

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

How to fix?

Upgrade SLES:15.0 python2-PyYAML to version 5.1.2-150000.3.6.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python2-PyYAML package and not the python2-PyYAML package as distributed by SLES. See How to fix? for SLES:15.0 relevant fixed versions and status.

A vulnerability was discovered in the PyYAML library in versions before 5.3.1, 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. An attacker could use this flaw to execute arbitrary code on the system by abusing the python/object/new constructor.

References

CVSS Base Scores

version 3.1