Advisory

PYSEC-2017-19

Also known as: CVE-2017-16615, GHSA-xpm8-98mx-h4c5

Summary

The record has no summary.

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.

Severity

Not rated by the source.

Dates

Published
2017-11-08 03:29 UTC
Modified
2023-11-08 03:59 UTC

Affected packages and fixes

mlalchemy

PyPI · All systems

Affected

  • introduced 0, fixed 0.2.2 (ecosystem)

Fixed versions

0.2.2

Fix

  • Fixed version 0.2.2
    pip install --upgrade mlalchemy==0.2.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences