An exploitable vulnerability exists in the YAML parsing functionality in the parse_yaml_query 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 safe_load should have been used. An attacker can insert Python into loaded YAML to trigger this vulnerability.
Advisories
Source ID Title
EUVD EUVD EUVD-2017-0076 An exploitable vulnerability exists in the YAML parsing functionality in the parse_yaml_query 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 safe_load should have been used. An attacker can insert Python into loaded YAML to trigger this vulnerability.
Github GHSA Github GHSA GHSA-xpm8-98mx-h4c5 Unsafe deserialization in MLAlchemy
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-05T20:27:04.283Z

Reserved: 2017-11-06T00:00:00

Link: CVE-2017-16615

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2017-11-08T03:29:00.200

Modified: 2025-04-20T01:37:25.860

Link: CVE-2017-16615

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses