security: bump minimum versions for python-multipart and starlette#2210
Open
pranayom wants to merge 2 commits intomodelcontextprotocol:mainfrom
Open
security: bump minimum versions for python-multipart and starlette#2210pranayom wants to merge 2 commits intomodelcontextprotocol:mainfrom
pranayom wants to merge 2 commits intomodelcontextprotocol:mainfrom
Conversation
Raise dependency floor to exclude versions with known vulnerabilities: - python-multipart: >=0.0.9 → >=0.0.22 - GHSA-wp53-j4wj-2cfg (arbitrary file write via non-default config) - GHSA-59g5-xgcq-4qw3 (DoS via malformed multipart boundary) - starlette (python_version < '3.14'): >=0.27 → >=0.47.2 - GHSA-2c2j-9gv5-cj73 (DoS parsing large multipart files) - GHSA-f96h-pmfr-66vw (DoS via multipart/form-data) The previous minimum versions allowed pip to resolve to vulnerable releases. Users who pinned or cached older versions within the allowed range were exposed. Bumping the floor ensures all new installations pull patched versions.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Raises the dependency version floor for two packages to exclude releases with known security vulnerabilities:
python-multipart:
>=0.0.9→>=0.0.22starlette (python_version < '3.14'):
>=0.27→>=0.47.2Why this matters
The previous minimum versions allowed
pipto resolve to vulnerable releases. Users who pinned or cached older versions within the allowed range were exposed. Bumping the floor ensures all new installations pull patched versions.The
starlette>=0.48.0constraint for Python 3.14 is already above all affected versions and is unchanged.Test plan
uv lock/pip installresolves to patched versions🤖 Generated with Claude Code