GHSA-xpm8-98mx-h4c5

Suggest an improvement
Source
https://github.com/advisories/GHSA-xpm8-98mx-h4c5
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/07/GHSA-xpm8-98mx-h4c5/GHSA-xpm8-98mx-h4c5.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-xpm8-98mx-h4c5
Aliases
Published
2018-07-13T16:01:07Z
Modified
2025-02-14T05:28:40Z
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
  • 9.3 (Critical) CVSS_V4 - 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 CVSS Calculator
Summary
Unsafe deserialization in MLAlchemy
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.

Database specific
{
    "cwe_ids": [],
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T22:03:55Z",
    "nvd_published_at": null,
    "severity": "CRITICAL"
}
References

Affected packages

PyPI / mlalchemy

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.2.2

Affected versions

0.*
0.1.0
0.1.1
0.1.2
0.1.3
0.2.0
0.2.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/07/GHSA-xpm8-98mx-h4c5/GHSA-xpm8-98mx-h4c5.json"