summaryrefslogtreecommitdiff
path: root/metadata/glsa/glsa-202407-07.xml
diff options
context:
space:
mode:
Diffstat (limited to 'metadata/glsa/glsa-202407-07.xml')
-rw-r--r--metadata/glsa/glsa-202407-07.xml44
1 files changed, 44 insertions, 0 deletions
diff --git a/metadata/glsa/glsa-202407-07.xml b/metadata/glsa/glsa-202407-07.xml
new file mode 100644
index 000000000000..5daea9bc8f5b
--- /dev/null
+++ b/metadata/glsa/glsa-202407-07.xml
@@ -0,0 +1,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> \ No newline at end of file