1 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
2 |
Gentoo Linux Security Advisory GLSA 202003-45 |
3 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
4 |
https://security.gentoo.org/ |
5 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
6 |
|
7 |
Severity: High |
8 |
Title: PyYAML: Arbitrary code execution |
9 |
Date: March 19, 2020 |
10 |
Bugs: #659348 |
11 |
ID: 202003-45 |
12 |
|
13 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
14 |
|
15 |
Synopsis |
16 |
======== |
17 |
|
18 |
A flaw in PyYAML might allow attackers to execute arbitrary code. |
19 |
|
20 |
Background |
21 |
========== |
22 |
|
23 |
PyYAML is a YAML parser and emitter for Python. |
24 |
|
25 |
Affected packages |
26 |
================= |
27 |
|
28 |
------------------------------------------------------------------- |
29 |
Package / Vulnerable / Unaffected |
30 |
------------------------------------------------------------------- |
31 |
1 dev-python/pyyaml < 5.1 >= 5.1 |
32 |
|
33 |
Description |
34 |
=========== |
35 |
|
36 |
It was found that using yaml.load() API on untrusted input could lead |
37 |
to arbitrary code execution. |
38 |
|
39 |
Impact |
40 |
====== |
41 |
|
42 |
A remote attacker could entice a user to process specially crafted |
43 |
input in an application using yaml.load() from PyYAML, possibly |
44 |
resulting in execution of arbitrary code with the privileges of the |
45 |
process or a Denial of Service condition. |
46 |
|
47 |
Workaround |
48 |
========== |
49 |
|
50 |
There is no known workaround at this time. |
51 |
|
52 |
Resolution |
53 |
========== |
54 |
|
55 |
All PyYAML users should upgrade to the latest version: |
56 |
|
57 |
# emerge --sync |
58 |
# emerge --ask --oneshot --verbose ">=dev-python/pyyaml-5.1" |
59 |
|
60 |
References |
61 |
========== |
62 |
|
63 |
[ 1 ] CVE-2017-18342 |
64 |
https://nvd.nist.gov/vuln/detail/CVE-2017-18342 |
65 |
|
66 |
Availability |
67 |
============ |
68 |
|
69 |
This GLSA and any updates to it are available for viewing at |
70 |
the Gentoo Security Website: |
71 |
|
72 |
https://security.gentoo.org/glsa/202003-45 |
73 |
|
74 |
Concerns? |
75 |
========= |
76 |
|
77 |
Security is a primary focus of Gentoo Linux and ensuring the |
78 |
confidentiality and security of our users' machines is of utmost |
79 |
importance to us. Any security concerns should be addressed to |
80 |
security@g.o or alternatively, you may file a bug at |
81 |
https://bugs.gentoo.org. |
82 |
|
83 |
License |
84 |
======= |
85 |
|
86 |
Copyright 2020 Gentoo Foundation, Inc; referenced text |
87 |
belongs to its owner(s). |
88 |
|
89 |
The contents of this document are licensed under the |
90 |
Creative Commons - Attribution / Share Alike license. |
91 |
|
92 |
https://creativecommons.org/licenses/by-sa/2.5 |