Update dependency pyarrow to v23 [SECURITY]#8278
Conversation
Merging this PR will degrade performance by 10.78%
|
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ❌ | Simulation | compare[15] |
119.9 µs | 145.9 µs | -17.84% |
| ❌ | Simulation | compare[14] |
117.5 µs | 141.6 µs | -17.04% |
| ❌ | Simulation | compare[13] |
115.5 µs | 137.8 µs | -16.17% |
| ⚡ | Simulation | compare[5] |
76.9 µs | 69.4 µs | +10.89% |
Tip
Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.
Comparing renovate/pypi-pyarrow-vulnerability (6c7c992) with develop (e06d80b)
|
This issue is Arrow C++ specific and it was not exposed to the python bindings which is what we are using here |
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
This PR contains the following updates:
21.0.0→23.0.1Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Apache Arrow: Potential use-after-free when reading IPC file with pre-buffering
CVE-2026-25087 / GHSA-rgxp-2hwp-jwgg
More information
Details
Use After Free vulnerability in Apache Arrow C++.
This issue affects Apache Arrow C++ from 15.0.0 through 23.0.0. It can be triggered when reading an Arrow IPC file (but not an IPC stream) with pre-buffering enabled, if the IPC file contains data with variadic buffers (such as Binary View and String View data). Depending on the number of variadic buffers in a record batch column and on the temporal sequence of multi-threaded IO, a write to a dangling pointer could occur. The value (a
std::shared_ptr<Buffer>object) that is written to the dangling pointer is not under direct control of the attacker.Pre-buffering is disabled by default but can be enabled using a specific C++ API call (
RecordBatchFileReader::PreBufferMetadata). The functionality is not exposed in language bindings (Python, Ruby, C GLib), so these bindings are not vulnerable.The most likely consequence of this issue would be random crashes or memory corruption when reading specific kinds of IPC files. If the application allows ingesting IPC files from untrusted sources, this could plausibly be exploited for denial of service. Inducing more targeted kinds of misbehavior (such as confidential data extraction from the running process) depends on memory allocation and multi-threaded IO temporal patterns that are unlikely to be easily controlled by an attacker.
Advice for users of Arrow C++:
check whether you enable pre-buffering on the IPC file reader (using
RecordBatchFileReader::PreBufferMetadata)if so, either disable pre-buffering (which may have adverse performance consequences), or switch to Arrow 23.0.1 which is not vulnerable
Severity
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.