Improper Input Validation Affecting python-PyYAML package, versions *


Severity

Recommended
medium

Based on Red Hat Enterprise Linux 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-RHEL10-PYTHONPYYAML-9837235
  • published28 Apr 2025
  • disclosed2 Mar 2020

Introduced: 2 Mar 2020

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

How to fix?

There is no fixed version for RHEL:10 python-PyYAML.

NVD Description

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