CVE-2017-18342

high
Published 2019-01-04 · Modified 2023-11-08
CVSS v3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v2
VIR risk
8.0

Description

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.

Predictions

Exploit likelihood
30%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2017-18342

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2017-18342.html

OS impact

OSVersionStatusFixed in
arch archfixed5.1-1
suse slesaffected
debian debianbookwormfixed5.1.2-1
debian debianbullseyefixed5.1.2-1
debian debianforkyfixed5.1.2-1
debian debiansidfixed5.1.2-1
debian debiantrixiefixed5.1.2-1

Package impact

EcosystemPackageVulnerableFixed
python PyPIpyyaml<4.14.1
python PyPIpyyaml<5.15.1

References

Verify integrity in audit chain (admin only). AS-IS.