Improper Input Validation Affecting python2-pyyaml package, versions *


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

EPSS
1.06% (85th 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 Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CENTOS8-PYTHON2PYYAML-1937473
  • published26 Jul 2021
  • disclosed27 Jun 2018

Introduced: 27 Jun 2018

CVE-2017-18342  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

There is no fixed version for Centos:8 python2-pyyaml.

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 Centos. See How to fix? for Centos:8 relevant fixed versions and status.

In PyYAML before 5.1, the yaml.load() API could execute arbitrary code if used with untrusted data. The load() function has been deprecated in version 5.1 and the 'UnsafeLoader' has been introduced for backward compatibility with the function.

CVSS Scores

version 3.1