Critical, CVSS 9.3PyPIAmendedPublished
Unsafe deserialization in MLAlchemy
CVE-2017-16615 · GHSA-xpm8-98mx-h4c5
- Affected
- PyPI mlalchemy < 0.2.2
- Fixed in
- 0.2.2· Vendor fix available
- Issue
- An exploitable vulnerability exists in the YAML parsing functionality in the parseyamlquery method in parser.py in MLAlchemy before 0.2.2. When processing YAML-Based queries for data, 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.2.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.