Critical, CVSS 9.3PyPIAmendedPublished
Unsafe pyyaml load usage in PyAnyAPI
CVE-2017-16616 · GHSA-vg8g-jpm9-jh8r
- Affected
- PyPI pyanyapi < 0.6.1
- Fixed in
- 0.6.1· Vendor fix available
- Issue
- 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 safeload should have been used. An attacker can insert Python into loaded YAML to trigger this vulnerability.
Recommended action: Upgrade to 0.6.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.