PYSEC-2024-161

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/pyarrow/PYSEC-2024-161.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2024-161
Aliases
Published
2024-11-28T17:15:48Z
Modified
2025-01-14T05:57:19.017909Z
Summary
[none]
Details

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 todataframe() method can be used as a workaround (e.g., readparquet(..., asdataframe = FALSE)$todata_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.

References

Affected packages

PyPI / pyarrow

Package

Affected ranges

Type
GIT
Repo
https://github.com/apache/arrow
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Type
ECOSYSTEM
Events
Introduced
4.0.0
Fixed
17.0.0

Affected versions

4.*

4.0.0
4.0.1

5.*

5.0.0

6.*

6.0.0
6.0.1

7.*

7.0.0

8.*

8.0.0

9.*

9.0.0

10.*

10.0.0
10.0.1

11.*

11.0.0

12.*

12.0.0
12.0.1

13.*

13.0.0

14.*

14.0.0
14.0.1
14.0.2

15.*

15.0.0
15.0.1
15.0.2

16.*

16.0.0
16.1.0