Name | CVE-2024-22368 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3723-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
libspreadsheet-parsexlsx-perl (PTS) | bullseye | 0.27-2.1+deb11u2 | fixed |
bookworm | 0.27-3+deb12u2 | fixed | |
sid, trixie | 0.35-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
libspreadsheet-parsexlsx-perl | source | buster | 0.27-2+deb10u1 | DLA-3723-1 | ||
libspreadsheet-parsexlsx-perl | source | bullseye | 0.27-2.1+deb11u1 | |||
libspreadsheet-parsexlsx-perl | source | bookworm | 0.27-3+deb12u1 | |||
libspreadsheet-parsexlsx-perl | source | (unstable) | 0.29-1 |
https://github.com/haile01/perl_spreadsheet_excel_rce_poc/blob/main/parse_xlsx_bomb.md
Fixed by: https://github.com/MichaelDaum/spreadsheet-parsexlsx/commit/39b25b91fcb939a9c8ea807fdc80386c1ae5be0c (0.28)
Minor rewrite followup: https://github.com/MichaelDaum/spreadsheet-parsexlsx/commit/47ff82d74fbd014b8ec3cab80fa4fd25db9e8242
Unit test: https://github.com/MichaelDaum/spreadsheet-parsexlsx/commit/0bb6830c71f442cea6d1a0fae2455cd704292e88