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


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
43.04% (98th 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-5693780
  • published19 Feb 2020
  • disclosed19 Feb 2020

Introduced: 19 Feb 2020

CVE-2019-20477  (opens in a new tab)
CWE-502  (opens in a new tab)

How to fix?

Upgrade Debian:13 pyyaml to version 5.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.

PyYAML 5.1 through 5.1.2 has insufficient restrictions on the load and load_all functions because of a class deserialization issue, e.g., Popen is a class in the subprocess module. NOTE: this issue exists because of an incomplete fix for CVE-2017-18342.

CVSS Scores

version 3.1