Vulnerability Details : CVE-2023-7101
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.
Products affected by CVE-2023-7101
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*
- cpe:2.3:a:jmcnamara:spreadsheet\:\:parseexcel:*:*:*:*:*:perl:*:*
CVE-2023-7101 is in the CISA Known Exploited Vulnerabilities Catalog
CISA vulnerability name:
Spreadsheet::ParseExcel Remote Code Execution Vulnerability
CISA required action:
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
CISA description:
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.
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
Added on
2024-01-02
Action due date
2024-01-23
Exploit prediction scoring system (EPSS) score for CVE-2023-7101
10.14%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 95 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-7101
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.8
|
HIGH | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
1.8
|
5.9
|
134c704f-9b21-4f2e-91b3-4a467353bcc0 | 2024-07-03 |
7.8
|
HIGH | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
1.8
|
5.9
|
NIST | 2024-01-09 |
CWE ids for CVE-2023-7101
-
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.Assigned by: nvd@nist.gov (Primary)
-
The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes code syntax before using the input in a dynamic evaluation call (e.g. "eval").Assigned by: mandiant-cve@google.com (Secondary)
References for CVE-2023-7101
-
https://https://www.cve.org/CVERecord?id=CVE-2023-7101
Broken Link;Third Party Advisory
-
https://https://metacpan.org/dist/Spreadsheet-ParseExcel
Broken Link;Product
-
https://lists.debian.org/debian-lts-announce/2023/12/msg00025.html
[SECURITY] [DLA 3702-1] libspreadsheet-parseexcel-perl security updateMailing List
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IFEHKULQRVXHIV7XXK2RGD4VQN6Y4CV5/
[SECURITY] Fedora 39 Update: perl-Spreadsheet-ParseExcel-0.6600-1.fc39 - package-announce - Fedora Mailing-ListsMailing List
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/M2FIWDHRYTAAQLGM6AFOZVM7AFZ4H2ZR/
[SECURITY] Fedora 38 Update: perl-Spreadsheet-ParseExcel-0.6600-1.fc38 - package-announce - Fedora Mailing-ListsMailing List
-
https://github.com/mandiant/Vulnerability-Disclosures/blob/master/2023/MNDT-2023-0019.md
Vulnerability-Disclosures/2023/MNDT-2023-0019.md at master · mandiant/Vulnerability-Disclosures · GitHubThird Party Advisory
-
https://security.metacpan.org/2024/02/10/vulnerable-spreadsheet-parsing-modules.html
Vulnerable Spreadsheet Parsing modules | security.metacpan.orgThird Party Advisory
-
https://https://github.com/jmcnamara/spreadsheet-parseexcel/commit/bd3159277e745468e2c553417b35d5d7dc7405bc
Broken Link;Patch
-
https://https://github.com/haile01/perl_spreadsheet_excel_rce_poc
Broken Link;Third Party Advisory
-
https://github.com/jmcnamara/spreadsheet-parseexcel/blob/c7298592e102a375d43150cd002feed806557c15/lib/Spreadsheet/ParseExcel/Utility.pm#L171
spreadsheet-parseexcel/lib/Spreadsheet/ParseExcel/Utility.pm at c7298592e102a375d43150cd002feed806557c15 · jmcnamara/spreadsheet-parseexcel · GitHubProduct
-
http://www.openwall.com/lists/oss-security/2023/12/29/4
oss-security - CVE-2023-7101: Spreadsheet::ParseExcel for Perl is vulnerable to arbitrary code executionMailing List;Patch;Third Party Advisory
Jump to