{"id":"CVE-2017-16615","details":"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.","aliases":["GHSA-xpm8-98mx-h4c5","PYSEC-2017-19"],"modified":"2026-07-08T15:10:49.883379Z","published":"2017-11-08T03:29:00.200Z","references":[{"type":"ADVISORY","url":"https://joel-malwarebenchmark.github.io/blog/2017/11/08/cve-2017-16615-critical-restful-web-applications-vulnerability/"},{"type":"REPORT","url":"https://github.com/thanethomson/MLAlchemy/commit/bc795757febdcce430d89f9d08f75c32d6989d3c"},{"type":"REPORT","url":"https://github.com/thanethomson/MLAlchemy/issues/1"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/thanethomson/mlalchemy","events":[{"introduced":"99e36e744d9b430b5cdb4c5a202d8142d5fba9f1"},{"last_affected":"c707bf62a1b0933ba388c07deb3f49478198305b"},{"fixed":"bc795757febdcce430d89f9d08f75c32d6989d3c"}],"database_specific":{"cpe":["cpe:2.3:a:mlalchemy_project:mlalchemy:0.1.1:*:*:*:*:*:*:*","cpe:2.3:a:mlalchemy_project:mlalchemy:0.1.2:*:*:*:*:*:*:*","cpe:2.3:a:mlalchemy_project:mlalchemy:0.1.3:*:*:*:*:*:*:*","cpe:2.3:a:mlalchemy_project:mlalchemy:0.2.0:*:*:*:*:*:*:*","cpe:2.3:a:mlalchemy_project:mlalchemy:0.2.1:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"0.1.1"},{"last_affected":"0.1.1"},{"introduced":"0.1.2"},{"last_affected":"0.1.2"},{"introduced":"0.1.3"},{"last_affected":"0.1.3"},{"introduced":"0.2.0"},{"last_affected":"0.2.0"},{"introduced":"0.2.1"},{"last_affected":"0.2.1"}],"source":["CPE_STRING","REFERENCES"]}}],"versions":["0.1.1","0.1.2","0.1.3","0.2.0","0.2.1","v0.2.1","v0.2.0","v0.1.3","v0.1.2","v0.1.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-16615.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}