GHSA-xpm8-98mx-h4c5

    Dashboard / Vulnerabilities / GHSA-xpm8-98mx-h4c5

    GHSA-xpm8-98mx-h4c5

    Published: 13 Jul 2018Last Modified: 14 Feb 2025

    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.

    Affected packages

    Package

    Name: mlalchemy

    Purl: pkg:pypi/mlalchemy

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -0.2.2

    Affected versions

    0.1.0
    0.1.1
    0.1.2
    0.1.3

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High