CVE-2019-20477 Deserialization of Untrusted Data in PyYAML
CriticalCVSS 9.8
EPSS 5.1%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
Description
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.
Upgrade path
7 packages: 6 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/pyyaml(Debian 12) | < 5.2-1 | 5.2-1 | Fixed |
| debian/pyyaml(Debian 13) | < 5.2-1 | 5.2-1 | Fixed |
| debian/pyyaml(Debian 14) | < 5.2-1 | 5.2-1 | Fixed |
| pypi pyyaml(PyPI) | = 5.1; = 5.1.1; = 5.1.2; = 5.2b1 +2 more | 5.2, 5.2b1 | Fixed |
| pyyaml | >= 5.1, <= 5.1.2 | after 5.1.2 | Fixed |
| ubuntu/pyyaml(Ubuntu 20.04) | < 5.3-1ubuntu2; = 5.1.2-1; = 5.1.2-1build1; = 5.3-1ubuntu1 | 5.3-1ubuntu2 | Fixed |
| fedoraproject fedora | = 30; = 31 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi pyyaml(PyPI) | >= 5.1, < 5.2 | 5.2 |
| pypi pyyaml(PyPI) | = 5.1 | No fix listed |
| pypi pyyaml(PyPI) | = 5.1.1 | No fix listed |
| pypi pyyaml(PyPI) | = 5.1.2 | No fix listed |
| pypi pyyaml(PyPI) | = 5.2b1 | No fix listed |
| pypi pyyaml(PyPI) | >= 5.1, < 5.2b1 | 5.2b1 |
| debian/pyyaml(Debian:12) | < 5.2-1 | 5.2-1 |
| debian/pyyaml(Debian:13) | < 5.2-1 | 5.2-1 |
| debian/pyyaml(Debian:14) | < 5.2-1 | 5.2-1 |
| pyyaml | >= 5.1, <= 5.1.2 | No fix listed |
| fedoraproject fedora | = 30 | No fix listed |
| fedoraproject fedora | = 31 | No fix listed |
| ubuntu/pyyaml(Ubuntu:20.04) | < 5.3-1ubuntu2 | 5.3-1ubuntu2 |
| ubuntu/pyyaml(Ubuntu:20.04) | = 5.1.2-1 | No fix listed |
| ubuntu/pyyaml(Ubuntu:20.04) | = 5.1.2-1build1 | No fix listed |
| ubuntu/pyyaml(Ubuntu:20.04) | = 5.3-1ubuntu1 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com vendor-advisory
- github.com
- github.com product
- github.com issue-tracking release-notes third-party-advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- www.exploit-db.com exploit issue-tracking third-party-advisory vdb-entry
- Debian Security Tracker CVE-2019-20477 vendor-advisory
- FEDORA-2020-e84e90dc4a vendor-advisory
- FEDORA-2020-3162499159 vendor-advisory
- ubuntu.com issue-tracking
- www.cve.org issue-tracking