GitHub Advisoryadvisory · PyPI

GHSA-8q59-q68h-6hv4 Improper Input Validation in PyYAML

CRITICAL Published 2021-03-25 Modified 2024-10-25 Official page ↗
Aliases
CVE-2020-14343
Ecosystem
PyPI
Packages
PyYAML
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-20
Reviewed
2021-03-25

Affected packages

• PyPI PyYAML: < 5.4 → fixed in 5.4

Description

A vulnerability was discovered in the PyYAML library in versions before 5.4, 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. This flaw allows an attacker to execute arbitrary code on the system by abusing the python/object/new constructor. This flaw is due to an incomplete fix for CVE-2020-1747.

Related

Alias · CVE (1)

  • CVE-2020-14343 A vulnerability was discovered in the PyYAML library in versions before 5.4, where it is susceptible to arbitrary code execution when it… vulnerability

Weakness · CWE (1)

  • CWE-20 Improper Input Validation weakness

References