CVE-2024-52338 json
Apache Arrow R package: Arbitrary code execution when loading a malicious data file
published last yr. modified 3mo ago also EUVD-2024-0151 , GHSA-m5xw-hwxw-fq3j , JLSEC-2026-804 , PYSEC-2024-161
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.3%
- EPSS 2.3% chance of exploitation in 30 days, percentile 83%
- public exploits
- 0
- none known
Summary
Deserialization of untrusted data in IPC and Parquet readers in the Apache Arrow R package versions 4.0.0 through 16.1.0 allows arbitrary code execution. An application is vulnerable if it reads Arrow IPC, Feather or Parquet data from untrusted sources (for example, user-supplied input files). This vulnerability only affects the arrow R package, not other Apache Arrow implementations or bindings unless those bindings are specifically used via the R package (for example, an R application that embeds a Python interpreter and uses PyArrow to read files from untrusted sources is still vulnerable if the arrow R package is an affected version). It is recommended that users of the arrow R package upgrade to 17.0.0 or later. Similarly, it is recommended that downstream libraries upgrade their dependency requirements to arrow 17.0.0 or later. If using an affected version of the package, untrusted data can read into a Table and its internal to_data_frame() method can be used as a workaround (e.g., read_parquet(..., as_data_frame = FALSE)$to_data_frame()).
This issue affects the Apache Arrow R package: from 4.0.0 through 16.1.0.
Users are recommended to upgrade to version 17.0.0, which fixes the issue.
Patch / fix
- julia Arrow_jll 18.1.0+0
- pypi pyarrow 17.0.0
- apache arrow 17.0.0
- ceph Azure Linux 3.0 18.2.2-2
- libarrow Azure Linux 3.0 15.0.0-7
azure linux advisories AZL-53423AZL-53471
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Is CVE-2024-52338 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- last yr.
Exploit prediction
2.33% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | Arrow_jll | <18.1.0+0 |
18.1.0+0 |
| pypi | pyarrow | >=4.0.0, <17.0.0 |
17.0.0 |
Affected products
- Apache Software Foundation Apache Arrow R package
- apache_software_foundation apache_arrow_r_package
Classification
- Weakness
-
- CWE-502 Deserialization of Untrusted Data
References
-
github.com
/apache/arrow/commit/801de2fbcf5bcbce0c019ed4b35ff3fc863b141b
patch, web
-
lists.apache.org
/thread/0rcbvj1gdp15lvm23zm601tjpq0k25vt
vendor-advisory, mailing-list, web
-
openwall.com
/lists/oss-security/2024/11/28/3
mailing-list, third-party-advisory, web
-
github.com
/advisories/GHSA-m5xw-hwxw-fq3j
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-52338
web
Sources
- CVE List CVE-2024-52338
- NVD CVE-2024-52338
- OSV JLSEC-2026-804
- OSV PYSEC-2024-161
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.