Skip to content

CVE-2017-16616 Unsafe pyyaml load usage in PyAnyAPI

CriticalCVSS 9.8 EPSS 3.6%
Published
Updated
Exploit status
No public exploit known

Description

An exploitable vulnerability exists in the YAML parsing functionality in the YAMLParser method in Interfaces.py in PyAnyAPI before 0.6.1. A YAML parser can execute arbitrary Python commands resulting in command execution because load is used where safe_load should have been used. An attacker can insert Python into loaded YAML to trigger this vulnerability.

Affected products

ProductAffected versionsFixed in
pypi pyanyapi(PyPI) < 0.6.1 0.6.1
pypi pyanyapi(PyPI) = 0.4 No fix listed
pypi pyanyapi(PyPI) = 0.5 No fix listed
pypi pyanyapi(PyPI) = 0.5.1 No fix listed
pypi pyanyapi(PyPI) = 0.5.2 No fix listed
pypi pyanyapi(PyPI) = 0.5.3 No fix listed
pypi pyanyapi(PyPI) = 0.5.4 No fix listed
pypi pyanyapi(PyPI) = 0.5.5 No fix listed
pypi pyanyapi(PyPI) = 0.5.6 No fix listed
pypi pyanyapi(PyPI) = 0.5.7 No fix listed
pypi pyanyapi(PyPI) = 0.5.8 No fix listed
pypi pyanyapi(PyPI) = 0.6.0 No fix listed
pyanyapi project pyanyapi < 0.6.1 0.6.1

References