Critical severity · published Jun 27, 2018
CVE-2017-18342
In PyYAML before 5.1, the yaml.load() API could execute arbitrary code if used with untrusted data
9.8
CVSS
5.7%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)5.7% · higher than 93% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
FE
Fedora · Fedoraproject
28; 29; 30 · source: NVD
PY
Pyyaml · Pyyaml
before 5.1 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2017-18342
CVE.org
https://www.cve.org/CVERecord?id=CVE-2017-18342
Third Party Advisory
https://github.com/marshmallow-code/apispec/issues/278
Release Notes
https://github.com/yaml/pyyaml/blob/master/CHANGES
Third Party Advisory
https://github.com/yaml/pyyaml/issues/193
Patch
https://github.com/yaml/pyyaml/pull/74
github.com
https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load%28input%29-Deprecation
lists.fedoraproject.org
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JEX7IPV5P2QJITAMA5Z63GQCZA5I6NVZ/
More from Fedora
10.0
CVE-2021-44228
Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints
10.0
CVE-2015-3306
ProFTPD Improper Access Control Vulnerability
9.8
CVE-2024-4577
Argument Injection in PHP-CGI
9.8
CVE-2021-44026
Roundcube Webmail SQL Injection Vulnerability
9.8
CVE-2021-42013
Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773)
