Skip to content

Commit 241d7b4

Browse files
neuron7xLabclaude
andauthored
deps(security): pin pillow >= 12.2.0 (GHSA-whj4-6x5x-4v2j) (#228)
Closes the single open Dependabot advisory on GeoSync main: GHSA-whj4-6x5x-4v2j — FITS GZIP decompression bomb in Pillow (high). Vulnerable range ``>= 10.3.0, < 12.2.0``; SBOM recorded 12.1.1; fix 12.2.0+. Pillow is a pure transitive — it enters the install tree via scientific/ML extras and isn't listed in ``requirements.txt`` or ``pyproject.toml`` directly. Following the existing pattern in ``constraints/security.txt``, pin the floor here so transitive resolution cannot regress below the fix line across environments. Also refreshes the ``sbom/combined-requirements.txt`` row so the SBOM stays consistent with the new constraint. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 3cf2010 commit 241d7b4

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

constraints/security.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,12 @@ fastapi>=0.119.0,<1.0.0
9090
# Brotli: Compression algorithm support, required for secure decompression
9191
# Version 1.2.0+ required for urllib3 2.6.0 security fixes
9292
Brotli>=1.2.0
93+
94+
# ============================================================================
95+
# Image processing - Memory-safety critical (transitive)
96+
# ============================================================================
97+
# pillow: GHSA-whj4-6x5x-4v2j — FITS GZIP decompression bomb
98+
# Vulnerable: >= 10.3.0, < 12.2.0. Pillow enters the install tree via
99+
# scientific/ML extras (e.g. torchvision-adjacent paths). Pin the floor
100+
# here so transitive resolution cannot regress below the fix line.
101+
pillow>=12.2.0

sbom/combined-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ optuna==3.6.2
9292
packaging==25.0
9393
pandas==3.0.2
9494
pandera==0.26.1
95-
pillow==12.1.1
95+
pillow==12.2.0
9696
prometheus-client==0.25.0
9797
propcache==0.4.1
9898
protobuf==6.33.5

0 commit comments

Comments
 (0)