Ecosyste.ms: Advisories

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

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTY3NTctanA4NC1neGZ4

Improper Input Validation in PyYAML

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.

Permalink: https://github.com/advisories/GHSA-6757-jp84-gxfx
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTY3NTctanA4NC1neGZ4
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-6757-jp84-gxfx, CVE-2020-1747
References: Repository: https://github.com/yaml/pyyaml
Blast Radius: 49.9

Affected Packages

pypi:pyyaml
Dependent packages: 8,566
Dependent repositories: 122,440
Downloads: 318,109,980 last month
Affected Version Ranges: < 5.3.1
Fixed in: 5.3.1
All affected versions: 5.1.1, 5.1.2
All unaffected versions: 5.3.1, 5.4.1, 6.0.1