Advisory

PYSEC-2018-49

Also known as: CVE-2017-18342, GHSA-rprw-h62v-c2w7

Summary

The record has no summary.

Details

In PyYAML before 5.1, the yaml.load() API could execute arbitrary code if used with untrusted data. The load() function has been deprecated in version 5.1 and the 'UnsafeLoader' has been introduced for backward compatibility with the function.

Severity

Not rated by the source.

Dates

Published
2018-06-27 12:29 UTC
Modified
2023-11-08 03:59 UTC

Affected packages and fixes

pyyaml

PyPI · All systems

Affected

  • introduced 0, fixed 5.1 (ecosystem)

Fixed versions

5.1

Fix

  • Fixed version 5.1
    pip install --upgrade pyyaml==5.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