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
Published
2023-07-13T02:37:06.600Z
Modified
2023-10-20T07:27:00.600Z
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 readMSAT and readMSATbody functions within the ole.c component of libxls. The first vulnerability is a double-free flaw in the readMSAT 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 readMSATbody function. This issue, stemming from inconsistent memory management in the ole2readheader 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

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