summaryrefslogtreecommitdiff
blob: b84833eadb1c1722a7ad9c311e775af796be9dcd (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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="202407-01">
    <title>Zsh: Prompt Expansion Vulnerability</title>
    <synopsis>A vulnerability has been discovered in Zsh, which can lead to execution of arbitrary code.</synopsis>
    <product type="ebuild">zsh</product>
    <announced>2024-07-01</announced>
    <revised count="1">2024-07-01</revised>
    <bug>833252</bug>
    <access>local</access>
    <affected>
        <package name="app-shells/zsh" auto="yes" arch="*">
            <unaffected range="ge">5.8.1</unaffected>
            <vulnerable range="lt">5.8.1</vulnerable>
        </package>
    </affected>
    <background>
        <p>A shell designed for interactive use, although it is also a powerful scripting language.</p>
    </background>
    <description>
        <p>Multiple vulnerabilities have been discovered in Zsh. Please review the CVE identifiers referenced below for details.</p>
    </description>
    <impact type="normal">
        <p>A vulnerability in prompt expansion could be exploited through e.g. VCS_Info to execute arbitrary shell commands without a user&#39;s knowledge.</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.8.1"
        </code>
    </resolution>
    <references>
        <uri link="https://nvd.nist.gov/vuln/detail/CVE-2021-45444">CVE-2021-45444</uri>
    </references>
    <metadata tag="requester" timestamp="2024-07-01T05:51:00.103014Z">graaff</metadata>
    <metadata tag="submitter" timestamp="2024-07-01T05:51:00.106061Z">ajak</metadata>
</glsa>