Vulnerability · Published Jan 9, 2024 · Assigned by mitre
CVE-2024-22368
Medium 5.5
In plain English
A medium-severity security flaw in the libspreadsheet-parsexlsx-perl package (Debian). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.5Medium
Exploit odds (30 days)0.5%top 59.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libspreadsheet-parsexlsx-perl | 0.27-3+deb12u1 | DEBIAN-CVE-2024-22368 |
| Debian:13 | libspreadsheet-parsexlsx-perl | 0.29-1 | DEBIAN-CVE-2024-22368 |
| Debian:14 | libspreadsheet-parsexlsx-perl | 0.29-1 | DEBIAN-CVE-2024-22368 |
| Ubuntu:22.04:LTS | libspreadsheet-parsexlsx-perl | 0.27-2.1+deb11u2build0.22.04.1 | USN-6769-1 |
| Ubuntu:22.04:LTS | libspreadsheet-parsexlsx-perl | 0.27-2.1+deb11u2build0.22.04.1 | UBUNTU-CVE-2024-22368 |
Affected products (as reported)
References
- https://github.com/haile01/perl_spreadsheet_excel_rce_poc/blob/main/parse_xlsx_bomb.md
- https://metacpan.org/dist/Spreadsheet-ParseXLSX/changes
- [oss-security] 20240110 CVE-2024-22368: Spreadsheet::ParseXLSX for Perl is vulnerable to DoS via out-of-memory bugs mailing-list
- [debian-lts-announce] 20240127 [SECURITY] [DLA 3723-1] libspreadsheet-parsexlsx-perl security update mailing-list
- FEDORA-2024-5f136f5d10 vendor-advisory
- FEDORA-2024-fa14bfd3b5 vendor-advisory
- https://security.metacpan.org/2024/02/10/vulnerable-spreadsheet-parsing-modules.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6R7NYWVVZYDZIQC5YEXNHZM6VEE26SJV/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WNJVC4C5C5V44DNOZ5BHVU53CDXPB2OJ/