blob: 11ae0246fe901a4290e1a77c386e93d65048b7c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="201903-02">
<title>Zsh: User-assisted execution of arbitrary code</title>
<synopsis>Input validation errors in Zsh could result in arbitrary code
execution.
</synopsis>
<product type="ebuild">zsh</product>
<announced>2019-03-10</announced>
<revised count="1">2019-03-10</revised>
<bug>665278</bug>
<access>local, remote</access>
<affected>
<package name="app-shells/zsh" auto="yes" arch="*">
<unaffected range="ge">5.6</unaffected>
<vulnerable range="lt">5.6</vulnerable>
</package>
</affected>
<background>
<p>A shell designed for interactive use, although it is also a powerful
scripting language.
</p>
</background>
<description>
<p>Two input validation errors have been discovered in how Zsh parses
scripts:
</p>
<ul>
<li>Parsing a malformed shebang line could cause Zsh to call a program
listed in the second line (CVE-2018-0502)
</li>
<li>Shebang lines longer than 64 characters are truncated
(CVE-2018-13259)
</li>
</ul>
</description>
<impact type="normal">
<p>An attacker could entice a user to execute a specially crafted script
using Zsh, possibly resulting in execution of arbitrary code with the
privileges of the process.
</p>
</impact>
<workaround>
<p>There is no known workaround at this time.</p>
</workaround>
<resolution>
<p>All Zsh users should upgrade to the latest version:</p>
<code>
# emerge --sync
# emerge --ask --oneshot --verbose ">=app-shells/zsh-5.6"
</code>
</resolution>
<references>
<uri link="https://nvd.nist.gov/vuln/detail/CVE-2018-0502">CVE-2018-0502</uri>
<uri link="https://nvd.nist.gov/vuln/detail/CVE-2018-13259">CVE-2018-13259</uri>
</references>
<metadata tag="requester" timestamp="2018-12-31T07:32:39Z">Zlogene</metadata>
<metadata tag="submitter" timestamp="2019-03-10T02:21:31Z">ackle</metadata>
</glsa>
|