{"id":57784,"date":"2024-07-01T18:49:44","date_gmt":"2024-07-01T15:49:44","guid":{"rendered":"https:\/\/packetstormsecurity.com\/files\/179291\/glsa-202407-07.txt"},"modified":"2024-07-01T18:49:44","modified_gmt":"2024-07-01T15:49:44","slug":"gentoo-linux-security-advisory-202407-07","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/gentoo-linux-security-advisory-202407-07\/","title":{"rendered":"Gentoo Linux Security Advisory 202407-07"},"content":{"rendered":"<p>&#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211;<br \/>Gentoo Linux Security Advisory GLSA 202407-07<br \/>&#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211;<br \/>https:\/\/security.gentoo.org\/<br \/>&#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211;<\/p>\n<p>Severity: Normal<br \/>Title: cpio: Arbitrary Code Execution<br \/>Date: July 01, 2024<br \/>Bugs: #807088<br \/>ID: 202407-07<\/p>\n<p>&#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211;<\/p>\n<p>Synopsis<br \/>========<\/p>\n<p>A vulnerability has been discovered in cpio, which can lead to arbitrary<br \/>code execution.<\/p>\n<p>Background<br \/>==========<\/p>\n<p>cpio is a file archival tool which can also read and write tar files.<\/p>\n<p>Affected packages<br \/>=================<\/p>\n<p>Package Vulnerable Unaffected<br \/>&#8212;&#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;<br \/>app-arch\/cpio &lt; 2.13-r1 &gt;= 2.13-r1<\/p>\n<p>Description<br \/>===========<\/p>\n<p>Multiple vulnerabilities have been discovered in cpio. Please review the<br \/>CVE identifiers referenced below for details.<\/p>\n<p>Impact<br \/>======<\/p>\n<p>GNU cpio allows attackers to execute arbitrary code via a crafted<br \/>pattern file, because of a dstring.c ds_fgetstr integer overflow that<br \/>triggers an out-of-bounds heap write. NOTE: it is unclear whether there<br \/>are common cases where the pattern file, associated with the -E option,<br \/>is untrusted data.<\/p>\n<p>Workaround<br \/>==========<\/p>\n<p>There is no known workaround at this time.<\/p>\n<p>Resolution<br \/>==========<\/p>\n<p>All cpio users should upgrade to the latest version:<\/p>\n<p># emerge &#8211;sync<br \/># emerge &#8211;ask &#8211;oneshot &#8211;verbose &#8220;&gt;=app-arch\/cpio-2.13-r1&#8221;<\/p>\n<p>References<br \/>==========<\/p>\n[ 1 ] CVE-2016-2037<br \/>https:\/\/nvd.nist.gov\/vuln\/detail\/CVE-2016-2037<br \/>[ 2 ] CVE-2019-14866<br \/>https:\/\/nvd.nist.gov\/vuln\/detail\/CVE-2019-14866<br \/>[ 3 ] CVE-2021-38185<br \/>https:\/\/nvd.nist.gov\/vuln\/detail\/CVE-2021-38185<\/p>\n<p>Availability<br \/>============<\/p>\n<p>This GLSA and any updates to it are available for viewing at<br \/>the Gentoo Security Website:<\/p>\n<p>https:\/\/security.gentoo.org\/glsa\/202407-07<\/p>\n<p>Concerns?<br \/>=========<\/p>\n<p>Security is a primary focus of Gentoo Linux and ensuring the<br \/>confidentiality and security of our users&#8217; machines is of utmost<br \/>importance to us. Any security concerns should be addressed to<br \/>security@gentoo.org or alternatively, you may file a bug at<br \/>https:\/\/bugs.gentoo.org.<\/p>\n<p>License<br \/>=======<\/p>\n<p>Copyright 2024 Gentoo Foundation, Inc; referenced text<br \/>belongs to its owner(s).<\/p>\n<p>The contents of this document are licensed under the<br \/>Creative Commons &#8211; Attribution \/ Share Alike license.<\/p>\n<p>https:\/\/creativecommons.org\/licenses\/by-sa\/2.5<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211;Gentoo Linux Security Advisory GLSA 202407-07&#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-57784","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/57784","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=57784"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/57784\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=57784"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=57784"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=57784"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}