Advisory

PYSEC-2020-96

Also known as: CVE-2020-1747, GHSA-6757-jp84-gxfx

Summary

The record has no summary.

Details

A vulnerability was discovered in the PyYAML library in versions before 5.3.1, where it is susceptible to arbitrary code execution when it processes untrusted YAML files through the full_load method or with the FullLoader loader. Applications that use the library to process untrusted input may be vulnerable to this flaw. An attacker could use this flaw to execute arbitrary code on the system by abusing the python/object/new constructor.

Severity

Not rated by the source.

Dates

Published
2020-03-24 15:15 UTC
Modified
2026-05-04 08:57 UTC

Affected packages and fixes

pyyaml

PyPI · All systems

Affected

  • introduced 5.1, fixed 5.3.1 (ecosystem)

Fixed versions

5.3.1

Fix

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