Bug 2257625 (CVE-2024-22368)

Summary: CVE-2024-22368 perl-Spreadsheet-ParseXLSX: out-of-memory condition during parsing of a crafted XLSX document
Product: [Other] Security Response Reporter: TEJ RATHI <trathi>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
The Perl package Spreadsheet::ParseXLSX is susceptible to an out-of-memory condition when parsing a specifically crafted XLSX document. This vulnerability stems from inadequately constrained merged cells within the memoize implementation. Exploiting this flaw could lead to resource exhaustion during the parsing process.
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: 2257626, 2257627, 2257628    
Bug Blocks:    

Description TEJ RATHI 2024-01-10 10:37:37 UTC
The Spreadsheet::ParseXLSX package before 0.28 for Perl can encounter an out-of-memory condition during parsing of a crafted XLSX document. This occurs because the memoize implementation does not have appropriate constraints on merged cells.

https://github.com/haile01/perl_spreadsheet_excel_rce_poc/blob/main/parse_xlsx_bomb.md
https://metacpan.org/dist/Spreadsheet-ParseXLSX/changes

Comment 1 TEJ RATHI 2024-01-10 10:37:55 UTC
Created perl-Spreadsheet-ParseXLSX tracking bugs for this issue:

Affects: fedora-all [bug 2257626]

Comment 2 TEJ RATHI 2024-01-10 10:40:26 UTC
Created perl-Spreadsheet-XLSX tracking bugs for this issue:

Affects: epel-all [bug 2257627]
Affects: fedora-all [bug 2257628]