Repository navigation
deps: security updates (anyio, cryptography, pillow, …) - #28
Merged
Merged
Conversation
…n1, python-multipart, setuptools Fixes the CRITICAL/HIGH findings of the image scan (Python packages): anyio 4.13.0 -> 4.14.2, certifi 2026.2.25 -> 2026.10.18, cryptography 46.0.5 -> 50.0.0, pillow 12.1.1 -> 13.0.0, pyasn1 0.6.3 -> 0.6.5, python-multipart 0.0.22 -> 0.0.30. setuptools is now pinned (84.2.1): the base image's 79.0.1 vendored vulnerable copies of wheel and jaraco.context.
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.
The image's vulnerability scan (Trivy, informational on
main) reports 57 findings in Python packages, 7 CRITICAL and 50 HIGH. This bumps each affected package to the lowest version that fixes all of its listed CVEs.wheel0.45.1 andjaraco.context5.3.0 (1 each)setuptoolswas not in the lock: the flaggedwheelandjaraco.contextare copies vendored inside the base image's setuptools 79.0.1, which the app never uses at runtime. Pinning setuptools 84.2.1 (vendors wheel 0.46.3, no jaraco.context) replaces it.Compatibility: no pinned package caps these versions (
reportlabneedspillow>=9,python-joseneedscryptography>=3.4andpyasn1>=0.5,starletteneedsanyio<5). Hashes regenerated withscripts/hash-lock.py(--check: 67 pins, 0 problems).Tested by installing the lock over the current image:
pip checkclean, backend suite 561 passed, 6 skipped.Not addressed: one HIGH finding in the Debian base layer (
libzstd11.5.7+dfsg-1, fixed in +deb13u1), which goes away with the next digest update ofpython:3.11-slim.