RSEC-2023-1

See a problem?
Import Source
https://github.com/RConsortium/r-advisory-database/blob/main/vulns/readxl/RSEC-2023-1.yaml
JSON Data
https://api.osv.dev/v1/vulns/RSEC-2023-1
Upstream
Published
2023-07-13T02:37:06Z
Modified
2025-05-19T19:43:47Z
Summary
Double-free and invalid free vulnerabilities
Details

The readxl R package has been found susceptible to vulnerabilities due to its dependency on libxls library version 1.4.0. Two distinct memory management issues were discovered in the read_MSAT and read_MSAT_body functions within the ole.c component of libxls. The first vulnerability is a double-free flaw in the read_MSAT function, which could be exploited by an attacker using a crafted file to cause a Denial of Service (DoS), resulting in an application crash. This vulnerability is different from CVE-2017-2897. The second vulnerability is an invalid free flaw in the read_MSAT_body function. This issue, stemming from inconsistent memory management in the ole2_read_header function, allows attackers to trigger a DoS, application crash, or possibly an unspecified impact through a specially crafted file.

References

Affected packages

CRAN / readxl

Package

Name
readxl
Purl
pkg:cran/readxl

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0.1.0
Fixed
1.3.0

Affected versions

0.*
0.1.0
0.1.1
1.*
1.0.0
1.1.0
1.2.0

Database specific

source
"https://github.com/RConsortium/r-advisory-database/blob/main/vulns/readxl/RSEC-2023-1.yaml"