CVE-2017-16615
CRITICAL 9.8CVSS 3.0Unsafe deserialization in MLAlchemy
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.
- Published
- 8 Nov 2017
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Also known as
- GHSA-xpm8-98mx-h4c5PYSEC-2017-19
- Sources
- NVDJSONOSV GHSA-xpm8-98mx-h4c5JSONOSV PYSEC-2017-19JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mlalchemy_project | mlalchemycpe:2.3:a:mlalchemy_project:mlalchemy:0.1.1:*:*:*:*:*:*:* |
= 0.1.1 | |
| NVD | mlalchemy_project | mlalchemycpe:2.3:a:mlalchemy_project:mlalchemy:0.1.2:*:*:*:*:*:*:* |
= 0.1.2 | |
| NVD | mlalchemy_project | mlalchemycpe:2.3:a:mlalchemy_project:mlalchemy:0.1.3:*:*:*:*:*:*:* |
= 0.1.3 | |
| NVD | mlalchemy_project | mlalchemycpe:2.3:a:mlalchemy_project:mlalchemy:0.2.0:*:*:*:*:*:*:* |
= 0.2.0 | |
| NVD | mlalchemy_project | mlalchemycpe:2.3:a:mlalchemy_project:mlalchemy:0.2.1:*:*:*:*:*:*:* |
= 0.2.1 | |
| OSV | PyPI | mlalchemy | < 0.2.2 | 0.2.2 |
References
- https://github.com/thanethomson/MLAlchemy/commit/bc795757febdcce430d89f9d08f75c32d6989d3c · Issue Tracking, WEB, FIX
- https://github.com/thanethomson/MLAlchemy/issues/1 · Issue Tracking, WEB, REPORT
- https://joel-malwarebenchmark.github.io/blog/2017/11/08/cve-2017-16615-critical-restful-web-applications-vulnerability/ · Third Party Advisory, WEB, ARTICLE
- https://nvd.nist.gov/vuln/detail/CVE-2017-16615 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/mlalchemy/PYSEC-2017-19.yaml · WEB
- https://github.com/thanethomson/MLAlchemy · PACKAGE
- https://github.com/advisories/GHSA-xpm8-98mx-h4c5 · ADVISORY
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 8 Nov 2017)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 8 Nov 2017)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2018)