Bug 2266856 (CVE-2023-7207)

Summary: CVE-2023-7207 cpio: path traversal vulnerability
Product: [Other] Security Response Reporter: Rohit Keshri <rkeshri>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: bdettelb, caswilli, dfreiber, drow, jburrell, kaycoth, omaciel, sidakwo, vkumar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: cpio 2.14 Doc Type: ---
Doc Text:
A flaw was found in cpio. The fix for CVE-2015-1197 created other issues, and the patch to fix this issue was reverted, causing a regression when the --no-absolute-filenames command line option is used, resulting in a path traversal vulnerability.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2266859    
Bug Blocks: 2266853    

Description Rohit Keshri 2024-02-29 07:44:52 UTC
Debian's cpio contains a path traversal vulnerability. This issue was introduced by reverting CVE-2015-1197 patches which had caused a regression in --no-absolute-filenames. Upstream has since provided a proper fix to --no-absolute-filenames.

References:
https://www.openwall.com/lists/oss-security/2023/12/21/8
https://www.openwall.com/lists/oss-security/2024/01/05/1

Upstream patch:
https://git.savannah.gnu.org/cgit/cpio.git/commit/?id=376d663340a9dc91c91a5849e5713f07571c1628

Comment 1 Rohit Keshri 2024-02-29 07:46:03 UTC
Created cpio tracking bugs for this issue:

Affects: fedora-all [bug 2266859]