Overview
- Description
- 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.
- Source
- cve@mitre.org
- NVD status
- Analyzed
Risk scores
CVSS 3.0
- Type
- Primary
- Base score
- 9.8
- Impact score
- 5.9
- Exploitability score
- 3.9
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Severity
- CRITICAL
CVSS 2.0
- Type
- Primary
- Base score
- 7.5
- Impact score
- 6.4
- Exploitability score
- 10
- Vector string
- AV:N/AC:L/Au:N/C:P/I:P/A:P
Weaknesses
- nvd@nist.gov
- NVD-CWE-noinfo
Social media
- Hype score
- Not currently trending
Configurations
[ { "nodes": [ { "negate": false, "cpeMatch": [ { "criteria": "cpe:2.3:a:mlalchemy_project:mlalchemy:0.1.1:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "5DF209D6-FC75-4ED2-A89D-068843645922" }, { "criteria": "cpe:2.3:a:mlalchemy_project:mlalchemy:0.1.2:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "ACFE880C-90C5-48BD-A703-08C3468F5FD1" }, { "criteria": "cpe:2.3:a:mlalchemy_project:mlalchemy:0.1.3:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "ACB87D83-2523-49D7-9BB7-AA21B7C066A4" }, { "criteria": "cpe:2.3:a:mlalchemy_project:mlalchemy:0.2.0:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "A79EBE1E-2E95-462D-9422-F21739F098ED" }, { "criteria": "cpe:2.3:a:mlalchemy_project:mlalchemy:0.2.1:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "D446CA75-06CA-4E1D-9662-247B52D54E4E" } ], "operator": "OR" } ] } ]