CVE-2017-18342
Pyyaml vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Pyyaml, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Pyyaml runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/yaml/pyyaml/pull/74 · Patch
- github.com/marshmallow-code/apispec/issues/278 · Third Party Advisory
- github.com/yaml/pyyaml/blob/master/CHANGES · Third Party Advisory
- github.com/yaml/pyyaml/issues/193 · Third Party Advisory
- security.gentoo.org/glsa/202003-45 · Third Party Advisory
- github.com/yaml/pyyaml/wiki/PyYAML-yaml.load%28input%29-Deprecation
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/K
- nvd.nist.gov/vuln/detail/CVE-2017-18342
- cve.org/CVERecord?id=CVE-2017-18342
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.