GitHub Advisoryadvisory · PyPI
GHSA-5wvp-7f3h-6wmm PyArrow: Arbitrary code execution when loading a malicious data file
CRITICAL
Official page ↗
- Aliases
- CVE-2023-47248
- Ecosystem
- PyPI
- Packages
- pyarrow
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-502
- Reviewed
- 2023-11-09
Affected packages
• PyPI pyarrow: >= 0.14.0, < 14.0.1 → fixed in 14.0.1
Description
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.
Related
Alias · CVE (1)
- CVE-2023-47248 Deserialization of untrusted data in IPC and Parquet readers in PyArrow versions 0.14.0 to 14.0.0 allows arbitrary code execution. vulnerability
Weakness · CWE (1)
- CWE-502 Deserialization of Untrusted Data weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-47248 advisory
- https://github.com/apache/arrow/commit/f14170976372436ec1d03a724d8d3f3925484ecf web
- https://github.com/advisories/GHSA-5wvp-7f3h-6wmm advisory
- https://github.com/apache/arrow package
- https://github.com/pypa/advisory-database/tree/main/vulns/pyarrow/PYSEC-2023-238.yaml web
- https://lists.apache.org/thread/yhy7tdfjf9hrl9vfrtzo8p2cyjq87v7n web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/FR34AIPXVTMB3XPRU5ULV5HHWPMRE33X web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/MAGWEAJDWO2ACYATUQCPXLSYY5C3L3XU web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/MWFYXLVBTBHNKYRXI572RFX7IJDDQGBL web
- https://pypi.org/project/pyarrow-hotfix web
- https://www.cve.org/CVERecord?id=CVE-2023-47248 web
- https://www.openwall.com/lists/oss-security/2023/11/08/7 web