Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

CVE-2017-18342

Published: 27 June 2018

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.

Notes

AuthorNote
seth-arnold
The patch changes the incredibly-unsafe yaml.load to the
behaviour of safe_load; despite being many years overdue, it's also
likely to break something.
mdeslaur
upstream has reverted the 4.1 fix, so as of 2020-10-06, there
is no proper fix for this issue for stable releases, and fixing
it is likely to cause compatibility issues. In stable releases
individual software would need to be fixed instead of pyyaml
itself. We are not going to be fixing pyyaml itself, marking as
ignored.

Priority

Low

Cvss 3 Severity Score

9.8

Score breakdown

Status

Package Release Status
pyyaml
Launchpad, Ubuntu, Debian
bionic Ignored

cosmic Ignored
(end of life)
disco Ignored
(end of life)
eoan Not vulnerable
(5.1.2-1)
focal Not vulnerable
(5.1.2-1)
trusty Ignored

upstream Needed

xenial Ignored

Severity score breakdown

Parameter Value
Base score 9.8
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Scope Unchanged
Confidentiality High
Integrity impact High
Availability impact High
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H