Ecosyste.ms: Advisories

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

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXJwcnctaDYydi1jMnc3

PyYAML insecurely deserializes YAML strings leading to arbitrary code execution

In PyYAML before 4.1, the yaml.load() API could execute arbitrary code. In other words, yaml.safe_load is not used.

Permalink: https://github.com/advisories/GHSA-rprw-h62v-c2w7
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXJwcnctaDYydi1jMnc3
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: over 5 years ago
Updated: 8 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-rprw-h62v-c2w7, CVE-2017-18342
References: Repository: https://github.com/marshmallow-code/apispec
Blast Radius: 49.9

Affected Packages

pypi:pyyaml
Dependent packages: 6,941
Dependent repositories: 122,440
Downloads: 311,297,618 last month
Affected Version Ranges: < 4.1
Fixed in: 4.1
All affected versions:
All unaffected versions: 5.1.1, 5.1.2, 5.3.1, 5.4.1, 6.0.1