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.
- pyyaml Debian 12Update to 5.2-1
- pyyaml Debian 13Update to 5.2-1
- pyyaml Debian 14Update to 5.2-1
- pyyaml PyPIUpdate to 5.2
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="pyyaml"'pip show pyyamlAssess 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 | shChannels 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
- RHSA-2020:4641 · Red Hat Enterprise Linux 8 appstream ·
- ALSA-2020:4641 · AlmaLinux 8 ·
- RLSA-2020:4641 · Rocky Linux 8 ·
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
- https://github.com/yaml/pyyaml/blob/master/CHANGES
- https://www.exploit-db.com/download/47655
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/52N5XS73Z5S4ZN7I7R56ICCPCTKCUV4H/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/33VBUY73AA6CTTYL3LRWHNFDULV7PFPN/
- https://nvd.nist.gov/vuln/detail/CVE-2019-20477