CVE-2017-18342Published Jun 27, 2018 · Jun 27Updated Oct 24
PyYAML insecurely deserializes YAML strings leading to arbitrary code execution
Critical9.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| pyyaml PyPI |
|
|
Original 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.
From the CVE record · mitre