Actively exploited · Published Dec 24, 2023 · Assigned by Mandiant

CVE-2023-7101Arbitrary Code Execution (ACE) Vulnerability

High 7.8 Exploited

In plain English

A high-severity security flaw in Spreadsheet::ParseExcel from Douglas Wilson. Attackers are actively exploiting it in the wild (listed by CISA on January 2, 2024). The chance it is exploited in the next 30 days is estimated at 19.0% (higher than 97% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.8High
Exploit odds (30 days)19.0%top 2.7% of all CVEs
Exploited in the wildYesCISA KEV since Jan 2, 2024
Attack tooling1Metasploit

CISA guidance

Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

Federal agencies must remediate by Jan 23, 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20perl-spreadsheet-parseexcel0.66-r0ALPINE-CVE-2023-7101
Alpine:v3.21perl-spreadsheet-parseexcel0.66-r0ALPINE-CVE-2023-7101
Alpine:v3.22perl-spreadsheet-parseexcel0.66-r0ALPINE-CVE-2023-7101
Alpine:v3.23perl-spreadsheet-parseexcel0.66-r0ALPINE-CVE-2023-7101
Alpine:v3.24perl-spreadsheet-parseexcel0.66-r0ALPINE-CVE-2023-7101
Debian:12libspreadsheet-parseexcel-perl0.6500-4~deb12u1DSA-5592-1
Debian:12libspreadsheet-parseexcel-perl0.6500-4~deb12u1DEBIAN-CVE-2023-7101
Debian:13libspreadsheet-parseexcel-perl0.6500-4DEBIAN-CVE-2023-7101
Debian:14libspreadsheet-parseexcel-perl0.6500-4DEBIAN-CVE-2023-7101
Ubuntu:22.04:LTSlibspreadsheet-parseexcel-perl0.6500-1.1ubuntu0.1UBUNTU-CVE-2023-7101
Ubuntu:22.04:LTSlibspreadsheet-parseexcel-perl0.6500-1.1ubuntu0.1USN-6781-1

Affected products (as reported)

VendorProductVersions
Douglas Wilson Spreadsheet::ParseExcel 0.65

Weakness: CWE-95 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References