Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLThxNTktcTY4aC02aHY0

Improper Input Validation in PyYAML

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.

Permalink: https://github.com/advisories/GHSA-8q59-q68h-6hv4
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLThxNTktcTY4aC02aHY0
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: about 3 years ago
Updated: 9 months ago


CVSS Score: 9.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Identifiers: GHSA-8q59-q68h-6hv4, CVE-2020-14343
References: Repository: https://github.com/yaml/pyyaml
Blast Radius: 49.9

Affected Packages

pypi:PyYAML
Dependent packages: 6,941
Dependent repositories: 122,440
Downloads: 303,553,527 last month
Affected Version Ranges: < 5.4
Fixed in: 5.4
All affected versions: 5.1.1, 5.1.2, 5.3.1
All unaffected versions: 5.4.1, 6.0.1