CVE-2023-7101Spreadsheet::ParseExcel Remote Code Execution Vulnerability
CVSS score
7.8
High
CVSS 3.1 from NVD
Exploit probability (EPSS)
19.0%
19.0% chance of exploitation in the next 30 days, higher than 97.4% of all CVEs.
CISA KEV
Actively exploited
Added to KEV on 2 Jan 2024.
US federal deadline to fix: 23 Jan 2024.
Official 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.
Source: NVD · CNA: mandiant-cve@google.com
How to fix it, step by step
Treat it as urgent
Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 2 Jan 2024.
US federal agencies must fix it by 23 Jan 2024. It's a sensible deadline for everyone else too.
CISA's full instruction
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Check whether you're affected
Find every system running Douglas Wilson Spreadsheet::ParseExcel, Debian Linux, fedoraproject Fedora and compare its version with the affected versions.
Apply the vendor's fix
The official record doesn't name a fixed version. The vendor's advisory describes the fix:
Check for signs of compromise
Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.
Was this useful?
How it can be exploited
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| jmcnamara Spreadsheet\ | ≤ 0.65 · ≥ 0.41, ≤ 0.65 |
| Debian Debian Linux | 10.0 · 10 |
| fedoraproject Fedora | 38 · 39 |
| Douglas Wilson Spreadsheet::ParseExcel | 0.65 |
Weakness
Timeline
- Published:
- Added to CISA KEV:
- Last modified:
Frequently asked questions
Is CVE-2023-7101 being exploited?
Yes. CISA added CVE-2023-7101 to its Known Exploited Vulnerabilities catalog on 2 Jan 2024, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 19.0% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2023-7101?
CVE-2023-7101 has a CVSS 3.1 base score of 7.8 (high).
Which versions are affected?
Jmcnamara Spreadsheet\ (≤ 0.65; ≥ 0.41, ≤ 0.65), Debian Debian Linux (10.0; 10), Fedoraproject Fedora (38; 39), Douglas Wilson Spreadsheet::ParseExcel (0.65)
Is there a patch for CVE-2023-7101?
The official record links to vendor advisories or patches; see “What to do” above.
References
- www.openwall.com/lists/oss-security/2023/12/29/4(Mailing List, Patch, Third Party Advisory)
- https://github.com/jmcnamara/spreadsheet-parseexcel/commit/bd3159277e745468e2c553417b35d5d7dc7405bc(Broken Link, Patch)
- github.com/jmcnamara/spreadsheet-parseexcel/blob/c7298592e102a375d43150cd002feed806557c15/lib/Spreadsheet/ParseExcel/Utility.pm#L171(Product)
- github.com/mandiant/Vulnerability-Disclosures/blob/master/2023/MNDT-2023-0019.md(Third Party Advisory)
- https://github.com/haile01/perl_spreadsheet_excel_rce_poc(Broken Link, Third Party Advisory)
- https://metacpan.org/dist/Spreadsheet-ParseExcel(Broken Link, Product)
- https://www.cve.org/CVERecord?id=CVE-2023-7101(Broken Link, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2023/12/msg00025.html(Mailing List)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IFEHKULQRVXHIV7XXK2RGD4VQN6Y4CV5/(Broken Link, Mailing List)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/M2FIWDHRYTAAQLGM6AFOZVM7AFZ4H2ZR/(Broken Link, Mailing List)
- security.metacpan.org/2024/02/10/vulnerable-spreadsheet-parsing-modules.html(Third Party Advisory)
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-7101(US Government Resource)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.