CVE-2019-20477
Pyyaml vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Pyyaml, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Pyyaml runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/yaml/pyyaml/blob/master/CHANGES · Third Party Advisory
- www.exploit-db.com/download/47655 · Exploit
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5
- nvd.nist.gov/vuln/detail/CVE-2019-20477
- github.com/advisories/GHSA-3pqx-4fqf-j49f
- github.com/pypa/advisory-database/tree/main/vulns/pyyaml/PYSEC-2020-176.yaml
- lists.fedoraproject.org/archives/list/[email protected]/message/33V
- nvd.nist.gov/vuln/detail/CVE-2019-20477
- cve.org/CVERecord?id=CVE-2019-20477
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.