blob: 5daea9bc8f5bf9622c6fb0f94de9f030dd8872e7 (
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
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="202407-07">
<title>cpio: Arbitrary Code Execution</title>
<synopsis>A vulnerability has been discovered in cpio, which can lead to arbitrary code execution.</synopsis>
<product type="ebuild">cpio</product>
<announced>2024-07-01</announced>
<revised count="1">2024-07-01</revised>
<bug>807088</bug>
<access>local</access>
<affected>
<package name="app-arch/cpio" auto="yes" arch="*">
<unaffected range="ge">2.13-r1</unaffected>
<vulnerable range="lt">2.13-r1</vulnerable>
</package>
</affected>
<background>
<p>cpio is a file archival tool which can also read and write tar files.</p>
</background>
<description>
<p>Multiple vulnerabilities have been discovered in cpio. Please review the CVE identifiers referenced below for details.</p>
</description>
<impact type="normal">
<p>GNU cpio allows attackers to execute arbitrary code via a crafted pattern file, because of a dstring.c ds_fgetstr integer overflow that triggers an out-of-bounds heap write. NOTE: it is unclear whether there are common cases where the pattern file, associated with the -E option, is untrusted data.</p>
</impact>
<workaround>
<p>There is no known workaround at this time.</p>
</workaround>
<resolution>
<p>All cpio users should upgrade to the latest version:</p>
<code>
# emerge --sync
# emerge --ask --oneshot --verbose ">=app-arch/cpio-2.13-r1"
</code>
</resolution>
<references>
<uri link="https://nvd.nist.gov/vuln/detail/CVE-2016-2037">CVE-2016-2037</uri>
<uri link="https://nvd.nist.gov/vuln/detail/CVE-2019-14866">CVE-2019-14866</uri>
<uri link="https://nvd.nist.gov/vuln/detail/CVE-2021-38185">CVE-2021-38185</uri>
</references>
<metadata tag="requester" timestamp="2024-07-01T05:59:20.652714Z">graaff</metadata>
<metadata tag="submitter" timestamp="2024-07-01T05:59:20.655189Z">ajak</metadata>
</glsa>
|