CVEvulnerability
CVE-2023-7101
CISA Known Exploited Vulnerability
Spreadsheet::ParseExcel Remote Code Execution Vulnerability — Spreadsheet::ParseExcel Spreadsheet::ParseExcel
Spreadsheet::ParseExcel contains a remote code execution vulnerability due to passing unvalidated input from a file into a string-type “eval”. Specifically, the issue stems from the evaluation of Number format strings within the Excel parsing logic.
- Added to KEV
- 2024-01-02
- Remediation due
- 2024-01-23
- Ransomware use
- Unknown
- Required action
- Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
- Notes
- This vulnerability affects a common open-source component, third-party library, or a protocol used by different products. Please check with specific vendors for information on patching status. For more information, please see: https://metacpan.org/dist/Spreadsheet-ParseExcel and Barracuda's specific implementation and fix for their downstream issue CVE-2023-7102 at https://www.barracuda.com/company/legal/esg-vulnerability; https://nvd.nist.gov/vuln/detail/CVE-2023-7101
- Status
- Analyzed
- Published
- 2023-12-24
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-94, CWE-95
Description
Spreadsheet::ParseExcel version 0.65 is a Perl module used for parsing Excel files. Spreadsheet::ParseExcel is vulnerable to an arbitrary code execution (ACE) vulnerability due to passing unvalidated input from a file into a string-type “eval”. Specifically, the issue stems from the evaluation of Number format strings (not to be confused with printf-style format strings) within the Excel parsing logic.
Affected configurations
• jmcnamara spreadsheet\ \ (<= 0.65)
• debian debian linux 10.0
• fedoraproject fedora 38
• fedoraproject fedora 39
Related
References
- http://www.openwall.com/lists/oss-security/2023/12/29/4 Mailing List, Patch, Third Party Advisory
- https://github.com/jmcnamara/spreadsheet-parseexcel/blob/c7298592e102a375d43150cd002feed806557c15/lib/Spreadsheet/ParseExcel/Utility.pm#L171 Product
- https://github.com/mandiant/Vulnerability-Disclosures/blob/master/2023/MNDT-2023-0019.md Third Party Advisory
- https://https://github.com/haile01/perl_spreadsheet_excel_rce_poc Broken Link, Third Party Advisory
- https://https://github.com/jmcnamara/spreadsheet-parseexcel/commit/bd3159277e745468e2c553417b35d5d7dc7405bc Broken Link, Patch
- https://https://metacpan.org/dist/Spreadsheet-ParseExcel Broken Link, Product
- https://https://www.cve.org/CVERecord?id=CVE-2023-7101 Broken Link, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/12/msg00025.html Mailing List
- https://lists.fedoraproject.org/archives/list/[email protected]/message/IFEHKULQRVXHIV7XXK2RGD4VQN6Y4CV5/ Broken Link, Mailing List
- https://lists.fedoraproject.org/archives/list/[email protected]/message/M2FIWDHRYTAAQLGM6AFOZVM7AFZ4H2ZR/ Broken Link, Mailing List
- https://security.metacpan.org/2024/02/10/vulnerable-spreadsheet-parsing-modules.html Third Party Advisory
- http://www.openwall.com/lists/oss-security/2023/12/29/4 Mailing List, Patch, Third Party Advisory
- https://github.com/jmcnamara/spreadsheet-parseexcel/blob/c7298592e102a375d43150cd002feed806557c15/lib/Spreadsheet/ParseExcel/Utility.pm#L171 Product
- https://github.com/mandiant/Vulnerability-Disclosures/blob/master/2023/MNDT-2023-0019.md Third Party Advisory
- https://https://github.com/haile01/perl_spreadsheet_excel_rce_poc Broken Link, Third Party Advisory
- https://https://github.com/jmcnamara/spreadsheet-parseexcel/commit/bd3159277e745468e2c553417b35d5d7dc7405bc Broken Link, Patch
- https://https://metacpan.org/dist/Spreadsheet-ParseExcel Broken Link, Product
- https://https://www.cve.org/CVERecord?id=CVE-2023-7101 Broken Link, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/12/msg00025.html Mailing List
- https://lists.fedoraproject.org/archives/list/[email protected]/message/IFEHKULQRVXHIV7XXK2RGD4VQN6Y4CV5/ Broken Link, Mailing List
- https://lists.fedoraproject.org/archives/list/[email protected]/message/M2FIWDHRYTAAQLGM6AFOZVM7AFZ4H2ZR/ Broken Link, Mailing List
- https://security.metacpan.org/2024/02/10/vulnerable-spreadsheet-parsing-modules.html Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-7101 US Government Resource