CVE-2019-20477

PyYAML: command execution through python/object/apply constructor in FullLoader

Published Feb 19, 2020 CVSS 3.1 · 9.8 Critical EPSS 5.1% KEV · Not listed
Description
PyYAML 5.1 through 5.1.2 has insufficient restrictions on the load and load_all functions because of a class deserialization issue, e.g., Popen is a class in the subprocess module. NOTE: this issue exists because of an incomplete fix for CVE-2017-18342.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2020-0159 PyYAML 5.1 through 5.1.2 has insufficient restrictions on the load and load_all functions because of a class deserialization issue, e.g., Popen is a class in the subprocess module. NOTE: this issue exists because of an incomplete fix for CVE-2017-18342.
Github GHSA Github GHSA GHSA-3pqx-4fqf-j49f Deserialization of Untrusted Data in PyYAML
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 5, 2024, 2:39 AM
Reserved
Feb 19, 2020, 12:00 AM
Status
Modified
Published
Feb 19, 2020, 4:15 AM
Modified
Jun 17, 2026, 2:30 AM
Severity
Moderate
Public date
Nov 18, 2019, 12:00 AM