p PatchFirst

CVE-2019-20477

CVE-2019-20477

CVSS 9.8 · Critical · EPSS 5.1% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="pyyaml"'
pip show pyyaml

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

PyYAML 5.1 through 5.1.2 has insufficient restrictions on the load and load_all functions because of a class deserialization issue, e.g., Popen is a class in the subprocess module. NOTE: this issue exists because of an incomplete fix for CVE-2017-18342.

Published
Updated

Fixes in distributions

Stack: system · python

Affected products and versions

  • n/a

    Versions
    • n/a: Affected

    No fix published

  • pyyaml Debian 12

    Affected ranges
    • ECOSYSTEM: < 5.2-1

    Update to 5.2-1

  • pyyaml Debian 13

    Affected ranges
    • ECOSYSTEM: < 5.2-1

    Update to 5.2-1

  • pyyaml Debian 14

    Affected ranges
    • ECOSYSTEM: < 5.2-1

    Update to 5.2-1

  • pyyaml PyPI

    Versions
    • 5.1
    • 5.1.1
    • 5.1.2
    • 5.2b1
    Affected ranges
    • ECOSYSTEM: ≥ 5.1, < 5.2

    Update to 5.2

  • pyyaml PyPI

    Versions
    • 5.1
    • 5.1.1
    • 5.1.2
    Affected ranges
    • ECOSYSTEM: ≥ 5.1, < 5.2b1

    Update to 5.2b1

Original sources

Check your server →