chore(deps): bump pillow to >=12.3.0#309
Merged
Merged
Conversation
Resolves 13 open Dependabot alerts (10 high, 3 medium) affecting Pillow < 12.3.0, including heap out-of-bounds writes, decompression-bomb bypasses, and an OS command injection in WindowsViewer.get_command(). Bumps the floor from >=12.1.1 to >=12.3.0 and updates the lock (12.2.0 -> 12.3.0). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Updates the project’s Pillow dependency floor to a patched release to address Dependabot-reported vulnerabilities, and regenerates the uv lockfile to reflect the new minimum version (plus lockfile marker normalization).
Changes:
- Bump runtime dependency requirement from
pillow>=12.1.1topillow>=12.3.0. - Update
uv.lockto lock Pillow12.3.0and refresh associated lock metadata/markers.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
pyproject.toml |
Raises the minimum required Pillow version to >=12.3.0. |
uv.lock |
Locks Pillow 12.3.0 and includes additional lockfile rewrites (notably marker normalization across multiple packages). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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
Bumps
pillowfloor from>=12.1.1to>=12.3.0and updates the lock (12.2.0→12.3.0).This resolves 13 open Dependabot alerts (10 high, 3 medium), all affecting Pillow
< 12.3.0:ImageCmsTransform.apply()(output mode mismatch)PdfParser.PdfStream.decode()Image.paste()/crop()(signed coord overflow)RankFilter(integer overflow inImagingExpand)GdImageFile._open()skips decompression-bomb checkBdfFontFilebomb-protection bypass via font loadingFontFile.compile()skips decompression-bomb checkPcfFontFile._load_bitmaps()bomb-protection bypass%%BeginBinarybyte count → infinite-loop DoSWindowsViewer.get_command()OS command injection via unescaped pathTest plan
uv run pytest— 935 passed, 29 skippeduv run ruff check src/ tests/uv run mypy src/ tests/🤖 Generated with Claude Code