CVE-2017-18342
Critical
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.
SeverityCritical
CVSS9.8
Exploit probability—
Product
Pyyaml
PublishedJun 27, 2018
First seenJun 27, 2018
How to fix
Update
- pyyaml pyyaml5.1 or later
- pyyaml5.1 or later
Vendor advisories
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M6JCFGEIEOFMWWIXGHSELMKQDD4CV2BA/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KSQQMRUQSXBSUXLCRD3TSZYQ7SEZRKCE/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JEX7IPV5P2QJITAMA5Z63GQCZA5I6NVZ/
- security.gentoo.org/glsa/202003-45
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pyyaml pyyaml | v < 5.1 | 5.1 |
| fedoraproject fedora | 28, 29, 30 | — |
| pyyamlPyPI | v < 5.1 | 5.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.