Skip to content

fix(security): bump pyarrow >=23.0.1 for PYSEC-2026-113#55

Merged
JacobPEvans-personal merged 2 commits into
mainfrom
fix/pyarrow-pysec-2026-113
May 24, 2026
Merged

fix(security): bump pyarrow >=23.0.1 for PYSEC-2026-113#55
JacobPEvans-personal merged 2 commits into
mainfrom
fix/pyarrow-pysec-2026-113

Conversation

@JacobPEvans-personal
Copy link
Copy Markdown
Member

Summary

OSV scanner flagged pyarrow 17.0.0 in space/requirements.txt with PYSEC-2026-113 (CVSS 7.0 High), fixed in 23.0.1. The Merge Gate on every open PR (#54, #49, #47) was blocked on this.

Raise the lower-bound to >=23.0.1. HF Spaces resolves the actual installed version against the constraint, so the Space picks up a fix-version build on next deploy — no Space code changes required (the viewer only uses pandas / pyarrow.Table for parquet reads, stable across the 17→23 window).

Adds a new line in the CVE-history comment block to document why the lower-bound was raised, matching the existing pillow / orjson / idna entries.

Test plan

Unblocks

🤖 Generated with Claude Code

OSV scanner flagged pyarrow 17.0.0 in space/requirements.txt with
PYSEC-2026-113 (CVSS 7.0 High), fixed in 23.0.1. This was blocking the
Merge Gate on every open PR.

Raise the lower-bound to >=23.0.1. HF Spaces resolves the actual
installed version against this constraint, so the Space will pick up a
fix-version build on next deploy. No code changes needed; the viewer
only uses pandas/pyarrow.Table for parquet reads, both of which are
stable across the 17→23 window.

Added a new line in the CVE history comment to document why the
lower-bound was raised, matching the existing pillow / orjson / idna
entries.

Assisted-by: Claude <noreply@anthropic.com>
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the pyarrow dependency in space/requirements.txt to version 23.0.1 to address a high-severity security vulnerability (PYSEC-2026-113). The reviewer suggests extending this update to pyproject.toml to ensure the fix is applied to the core library and not just the Space deployment.

Comment thread space/requirements.txt
Gemini's review on PR #55 correctly flagged that the previous commit only
bumped the Space requirements.txt; the core mlx-benchmarks library still
declared `pyarrow>=17.0.0` in pyproject.toml. Library users installing
this package as a dependency would still resolve to a vulnerable
pyarrow without an explicit floor.

Bump pyproject.toml's pyarrow constraint to >=23.0.1 (matching the
Space). uv lock regenerated; the actual resolved version stays at 24.0.0
(latest), so no behavioral change — just the declared security floor.

Assisted-by: Claude <noreply@anthropic.com>
@JacobPEvans-personal JacobPEvans-personal merged commit 0c9a047 into main May 24, 2026
13 checks passed
@JacobPEvans-personal JacobPEvans-personal deleted the fix/pyarrow-pysec-2026-113 branch May 24, 2026 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant