Skip to content

Bump starlette floor to 1.3.1 for known CVEs - #67476

Open
hemv-857 wants to merge 2 commits into
ray-project:masterfrom
hemv-857:bump/starlette-1.3.1-cves
Open

hemv-857 wants to merge 2 commits into
ray-project:masterfrom
hemv-857:bump/starlette-1.3.1-cves

Conversation

@hemv-857

Copy link
Copy Markdown

Summary

python/requirements.txt, python/setup.py, and python/requirements/test-requirements.txt allow starlette>=1.0.1, and python/requirements_compiled.txt resolves to exactly starlette==1.0.1. Advisories fixed after 1.0.1 apply to that pin:

Raise the floor and lock pin to 1.3.1 (minimum release with all listed fixes). Same-major 1.x bump. requirements_compiled_py3.10–py3.13 are symlinks to requirements_compiled.txt and follow automatically; py3.14 is updated in this change.

Related issues/PRs

Closes #67411

How has this been tested?

  • Pins edited consistently across requirements.txt, setup.py, test-requirements.txt, and lockfiles
  • Full raydepsets / pip-compile regeneration needs Linux + bazel (CI lane); please recompile locks if resolution shifts transitive pins

@hemv-857
hemv-857 requested review from a team, edoakes and richardliaw as code owners October 27, 2026 15:21
Copilot AI balanced review requested due to automatic review settings October 27, 2026 15:21

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

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

Copy link
Copy Markdown
Contributor

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 starlette dependency from version 1.0.1 to 1.3.1 across multiple requirements files and setup.py to address security vulnerabilities, including GHSA-82w8-qh3p-5jfq. I have no feedback to provide as there are no review comments.

@hemv-857
hemv-857 force-pushed the bump/starlette-1.3.1-cves branch from cecb387 to 01cd790 Compare October 27, 2026 17:23
@ray-gardener ray-gardener Bot added serve Ray Serve Related Issue security The issue or proposal related to security community-contribution Contributed by the community labels Oct 27, 2026
@github-actions

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had
any activity for 14 days. It will be closed in another 14 days if no further activity occurs.
Thank you for your contributions.

You can always ask for help on our discussion forum or Ray's public slack channel.

If you'd like to keep this open, just leave any comment, and the stale label will be removed.

@github-actions github-actions Bot added the stale The issue is stale. It will be closed within 7 days unless there are further conversation label Nov 11, 2026
@hemv-857

Copy link
Copy Markdown
Author

Updated with current master — the branch had fallen 268 commits behind, which is also what tripped the 14-day stale bot.

The merge was conflict-free, and the change itself is unchanged: the same five files, six lines, starlette 1.0.1 → 1.3.1. None of python/requirements.txt, python/setup.py or the two compiled lockfiles moved on master in the meantime, so the pinned floor and the lock entries still apply exactly as written.

The reason this is still worth landing: master still pins starlette>=1.0.1 in python/requirements.txt and starlette==1.0.1 in python/requirements_compiled.txt, and #67411 is still open. The advisories that apply to 1.0.1 are:

1.3.1 is the lowest release that carries all four fixes, and it is a same-major bump.

@github-actions github-actions Bot added unstale A PR that has been marked unstale. It will not get marked stale again if this label is on it. and removed stale The issue is stale. It will be closed within 7 days unless there are further conversation labels Nov 11, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-contribution Contributed by the community security The issue or proposal related to security serve Ray Serve Related Issue unstale A PR that has been marked unstale. It will not get marked stale again if this label is on it.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Outdated starlette (1.0.1) pinned in python/requirements.txt — 2 HIGH severity CVEs unpatched

2 participants