Name | CVE-2020-14343 |
Description | A vulnerability was discovered in the PyYAML library in versions before 5.4, 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. This flaw allows an attacker to execute arbitrary code on the system by abusing the python/object/new constructor. This flaw is due to an incomplete fix for CVE-2020-1747. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 966233 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
pyyaml (PTS) | bullseye | 5.3.1-5 | fixed |
| bookworm | 6.0-3 | fixed |
| sid, trixie | 6.0.2-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
pyyaml | source | stretch | (not affected) | | | |
pyyaml | source | buster | (not affected) | | | |
pyyaml | source | (unstable) | 5.3.1-4 | | | 966233 |
Notes
[buster] - pyyaml <not-affected> (Vulnerable code not present)
[stretch] - pyyaml <not-affected> (Vulnerable code not present)
https://github.com/yaml/pyyaml/issues/420
Fixed via: https://github.com/yaml/pyyaml/pull/472
https://github.com/yaml/pyyaml/commit/7adc0db3f613a82669f2b168edd98379b83adb3c
CVE is for an incomplete fix of CVE-2020-1747.