CVE-2017-18342

PyYAML: yaml.load() API could execute arbitrary code

Published Jun 27, 2018 CVSS 3.1 · 9.8 Critical EPSS 5.6% KEV · Not listed
Description
In PyYAML before 5.1, the yaml.load() API could execute arbitrary code if used with untrusted data. The load() function has been deprecated in version 5.1 and the 'UnsafeLoader' has been introduced for backward compatibility with the function.

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-2018-0128 In PyYAML before 5.1, the yaml.load() API could execute arbitrary code if used with untrusted data. The load() function has been deprecated in version 5.1 and the 'UnsafeLoader' has been introduced for backward compatibility with the function.
Github GHSA Github GHSA GHSA-rprw-h62v-c2w7 PyYAML insecurely deserializes YAML strings leading to arbitrary code execution
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 5, 2024, 9:20 PM
Reserved
Jun 27, 2018, 12:00 AM
Status
Modified
Published
Jun 27, 2018, 12:29 PM
Modified
Jun 17, 2026, 1:12 AM
Severity
Moderate
Public date
Jun 27, 2018, 12:00 AM