Remote code execution in PyYAML component for Python



Published: 2018-06-27 | Updated: 2019-10-15
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2017-18342
CWE-ID CWE-20
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
PyYAML
Web applications / Modules and components for CMS

Vendor The YAML Project

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Input validation error

EUVDB-ID: #VU21781

Risk: High

CVSSv3.1:

CVE-ID: CVE-2017-18342

CWE-ID: CWE-20 - Improper Input Validation

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code.

The vulnerability exists due to insufficient validation of user-supplied input in the "yaml.load()" API (yaml.safe_load is not used). A remote attacker can execute arbitrary code on the target system.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

PyYAML: 3.01 - 3.13


CPE2.3 External links

http://github.com/yaml/pyyaml/blob/master/CHANGES
http://github.com/yaml/pyyaml/pull/74

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?



###SIDEBAR###