Advisory

PYSEC-2017-23

Also known as: CVE-2017-16616, GHSA-vg8g-jpm9-jh8r

Summary

The record has no summary.

Details

An exploitable vulnerability exists in the YAML parsing functionality in the YAMLParser method in Interfaces.py in PyAnyAPI before 0.6.1. 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

pyanyapi

PyPI · All systems

Affected

  • introduced 0, fixed 0.6.1 (ecosystem)

Fixed versions

0.6.1

Fix

  • Fixed version 0.6.1
    pip install --upgrade pyanyapi==0.6.1

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