PYSEC-2024-161
Vulnerability from pysec - Published: 2024-11-28 17:15 - Updated: 2025-01-14 05:22Deserialization 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.
| Name | purl | pyarrow | pkg:pypi/pyarrow |
|---|
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "pyarrow",
"purl": "pkg:pypi/pyarrow"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "801de2fbcf5bcbce0c019ed4b35ff3fc863b141b"
}
],
"repo": "https://github.com/apache/arrow",
"type": "GIT"
},
{
"events": [
{
"introduced": "4.0.0"
},
{
"fixed": "17.0.0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"10.0.0",
"10.0.1",
"11.0.0",
"12.0.0",
"12.0.1",
"13.0.0",
"14.0.0",
"14.0.1",
"14.0.2",
"15.0.0",
"15.0.1",
"15.0.2",
"16.0.0",
"16.1.0",
"4.0.0",
"4.0.1",
"5.0.0",
"6.0.0",
"6.0.1",
"7.0.0",
"8.0.0",
"9.0.0"
]
}
],
"aliases": [
"CVE-2024-52338"
],
"details": "Deserialization of untrusted data in IPC and Parquet readers in the Apache Arrow R package versions\u00a04.0.0 through 16.1.0 allows arbitrary code execution. An application is vulnerable if it \nreads Arrow IPC, Feather or Parquet data from untrusted sources (for \nexample, user-supplied input files). This vulnerability only affects the arrow R package, not other Apache Arrow \nimplementations 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\n is recommended that downstream libraries upgrade their dependency \nrequirements to arrow 17.0.0 or later. If using an affected\nversion 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()).\n\n\nThis issue affects the Apache Arrow R package: from 4.0.0 through 16.1.0.\n\n\nUsers are recommended to upgrade to version 17.0.0, which fixes the issue.",
"id": "PYSEC-2024-161",
"modified": "2025-01-14T05:22:20.554292+00:00",
"published": "2024-11-28T17:15:48+00:00",
"references": [
{
"type": "FIX",
"url": "https://github.com/apache/arrow/commit/801de2fbcf5bcbce0c019ed4b35ff3fc863b141b"
},
{
"type": "WEB",
"url": "https://lists.apache.org/thread/0rcbvj1gdp15lvm23zm601tjpq0k25vt"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2024/11/28/3"
}
]
}
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.