# CVE-2023-47248: PyArrow: Arbitrary code execution when loading a malicious data file

Source: https://junglewise.ai/threats/cve-2023-47248-pyarrow-arbitrary-code-execution-when-loading-a-malicious-data  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-11-17  
License: CC BY 4.0 with a link back

CVE-2023-47248 · Severity: low · CVSS 3.1 · Published 2023-11-17

Deserialization of untrusted data in IPC and Parquet readers in PyArrow versions 0.14.0 to 14.0.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).

Technologies: [pyarrow (PyPI)](https://junglewise.ai/threats/technologies/pyarrow). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2023-47248 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-47248 being exploited in the wild.

**How severe is CVE-2023-47248?** Low severity, with a CVSS score of 3.1, published 17 November 2023.

**Which products and versions are affected?** pyarrow (PyPI) ECOSYSTEM:introduced=0.14.0,fixed=14.0.1.

**Is there a fix for CVE-2023-47248?** Yes. pyarrow (PyPI): upgrade to 14.0.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2023-47248?** Check whether you run pyarrow (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- pyarrow (PyPI): upgrade to 14.0.1 or later

  ```sh
  pip install "pyarrow>=14.0.1"
  ```


## Affected products

- pyarrow (PyPI) ECOSYSTEM:introduced=0.14.0,fixed=14.0.1

## Identifiers

- CVE-2023-47248
- GHSA-5wvp-7f3h-6wmm
- PYSEC-2023-238

## Related threats

- [Apache Arrow C++ use-after-free in IPC file reader](https://junglewise.ai/threats/cve-2026-25087-apache-arrow-c-use-after-free-in-ipc-file-reader)
- [PYSEC-2024-161 - Deserialization of untrusted data in IPC and Parquet readers in the Apache Arrow R package versions…](https://junglewise.ai/threats/cve-2024-52338-pysec-2024-161-deserialization-of-untrusted-data-in-ipc-and)
- [Missing Initialization of Resource in Apache Arrow](https://junglewise.ai/threats/cve-2019-12410-missing-initialization-of-resource-in-apache-arrow)
- [Missing Initialization of Resource in Apache Arrow](https://junglewise.ai/threats/cve-2019-12408-missing-initialization-of-resource-in-apache-arrow)
