Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. pyarrow
  4. ›
  5. CVE-2023-47248

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

November 9, 2023 (updated October 21, 2024)

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).

This vulnerability only affects PyArrow, not other Apache Arrow implementations or bindings.

It is recommended that users of PyArrow upgrade to 14.0.1. Similarly, it is recommended that downstream libraries upgrade their dependency requirements to PyArrow 14.0.1 or later. PyPI packages are already available, and we hope that conda-forge packages will be available soon.

If it is not possible to upgrade, maintainers provide a separate package pyarrow-hotfix that disables the vulnerability on older PyArrow versions. See https://pypi.org/project/pyarrow-hotfix/ for instructions.

References

  • github.com/advisories/GHSA-5wvp-7f3h-6wmm
  • github.com/apache/arrow
  • github.com/apache/arrow/commit/f14170976372436ec1d03a724d8d3f3925484ecf
  • github.com/pypa/advisory-database/tree/main/vulns/pyarrow/PYSEC-2023-238.yaml
  • lists.apache.org/thread/yhy7tdfjf9hrl9vfrtzo8p2cyjq87v7n
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FR34AIPXVTMB3XPRU5ULV5HHWPMRE33X
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MAGWEAJDWO2ACYATUQCPXLSYY5C3L3XU
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MWFYXLVBTBHNKYRXI572RFX7IJDDQGBL
  • nvd.nist.gov/vuln/detail/CVE-2023-47248
  • pypi.org/project/pyarrow-hotfix
  • www.cve.org/CVERecord?id=CVE-2023-47248
  • www.openwall.com/lists/oss-security/2023/11/08/7

Code Behaviors & Features

Detect and mitigate CVE-2023-47248 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.14.0 before 14.0.1

Fixed versions

  • 14.0.1

Solution

Upgrade to version 14.0.1 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-502: Deserialization of Untrusted Data

Source file

pypi/pyarrow/CVE-2023-47248.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:02 +0000.