CVE-2017-16615

Source
https://cve.org/CVERecord?id=CVE-2017-16615
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-16615.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2017-16615
Aliases
Published
2017-11-08T03:29:00Z
Modified
2026-05-18T11:38:05Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
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.

References

Affected packages

Git / github.com/thanethomson/mlalchemy

Affected ranges

Type
GIT
Repo
https://github.com/thanethomson/mlalchemy
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last Affected
Last Affected
Last Affected
Last Affected
Last Affected
Database specific
Show details
{
    "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"
        },
        {
            "last_affected":  "0.1.1"
        },
        {
            "last_affected":  "0.1.2"
        },
        {
            "last_affected":  "0.1.3"
        },
        {
            "last_affected":  "0.2.0"
        },
        {
            "last_affected":  "0.2.1"
        }
    ],
    "source":  "CPE_FIELD"
}

Affected versions

v0.*
v0.1.1
v0.1.2
v0.1.3
v0.2.0
v0.2.1

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-16615.json"