Deserialization of Untrusted Data Affecting pyyaml package, versions <5.1.2-1


Severity

Recommended
low

Based on Debian 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 Deserialization of Untrusted Data vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN13-PYYAML-5693849
  • published11 Jul 2018
  • disclosed27 Jun 2018

Introduced: 27 Jun 2018

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

How to fix?

Upgrade Debian:13 pyyaml to version 5.1.2-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pyyaml package and not the pyyaml package as distributed by Debian. See How to fix? for Debian:13 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