CVE-2017-18342
CVE-2017-18342
CVSS 9.8 · Critical · EPSS 5.6% · 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.1.2-1
- pyyaml Debian 13Update to 5.1.2-1
- pyyaml Debian 14Update to 5.1.2-1
- pyyaml PyPIUpdate to 5.1
- and 3 more
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.
In PyYAML before 5.1, the yaml.load() API could execute arbitrary code if used with untrusted data. The load() function has been deprecated in version 5.1 and the 'UnsafeLoader' has been introduced for backward compatibility with the function.
- Published
- Updated
Fixes in distributions
- openSUSE-SU-2026:11996-1 · openSUSE Tumbleweed ·
- openSUSE-SU-2026:11192-1 · openSUSE Tumbleweed ·
- openSUSE-SU-2024:14152-1 · openSUSE Tumbleweed ·
- openSUSE-SU-2024:14089-1 · openSUSE Tumbleweed ·
- openSUSE-SU-2024:11108-1 · openSUSE Tumbleweed ·
- openSUSE-SU-2024:11210-1 · openSUSE Tumbleweed ·
Affected products and versions
n/a
- Versions
- n/a: Affected
No fix published
pyyaml Debian 12
- Affected ranges
- ECOSYSTEM: < 5.1.2-1
Update to 5.1.2-1
pyyaml Debian 13
- Affected ranges
- ECOSYSTEM: < 5.1.2-1
Update to 5.1.2-1
pyyaml Debian 14
- Affected ranges
- ECOSYSTEM: < 5.1.2-1
Update to 5.1.2-1
pyyaml PyPI
- Versions
- 3.01
- 3.02
- 3.03
- 3.04
- 3.05
- 3.06
All versions (22)
- 3.07
- 3.08
- 3.09
- 3.10
- 3.11
- 3.12
- 3.13
- 3.13b1
- 3.13rc1
- 4.2b1
- 4.2b2
- 4.2b4
- 5.1b1
- 5.1b3
- 5.1b5
- 5.1b7
- Affected ranges
- ECOSYSTEM: < 5.1
Update to 5.1
pyyaml Ubuntu 14.04 LTS
- Versions
- 3.10-4build2
- 3.10-4build3
- 3.10-4build4
- 3.10-4ubuntu0.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
pyyaml Ubuntu 16.04 LTS
- Versions
- 3.11-2build1
- 3.11-3
- 3.11-3build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
pyyaml Ubuntu 18.04 LTS
- Versions
- 3.12-1build2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://github.com/yaml/pyyaml/pull/74
- https://github.com/yaml/pyyaml/blob/master/CHANGES
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M6JCFGEIEOFMWWIXGHSELMKQDD4CV2BA/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KSQQMRUQSXBSUXLCRD3TSZYQ7SEZRKCE/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JEX7IPV5P2QJITAMA5Z63GQCZA5I6NVZ/
- https://github.com/marshmallow-code/apispec/issues/278
- https://github.com/yaml/pyyaml/issues/193
- https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load%28input%29-Deprecation
- https://security.gentoo.org/glsa/202003-45
- https://nvd.nist.gov/vuln/detail/CVE-2017-18342