Skip to content

deps: patch security alerts in certifi, urllib3, Pillow, filelock - #92

Merged
Bruno Demuro (brucedemuro) merged 1 commit into
mainfrom
security-dependency-bumps
Nov 12, 2026
Merged

Bruno Demuro (brucedemuro) merged 1 commit into
mainfrom
security-dependency-bumps

Conversation

@Clamps251

Copy link
Copy Markdown
Collaborator

sparrow/requirements.txt
certifi 2024.7.4 -> 2026.10.18 (critical: compromised emSign CAs)
Pillow 12.3.0 -> 13.0.0 (critical/high: ~40 decoder memory-safety and DoS issues)
urllib3 2.7.0 -> 2.8.0 (high: proxy TLS config ignored, unbounded chunk buffering)
filelock 3.20.3 -> 4.2.1 (moderate: UnixFileLock truncate/chmod via rename)

starlink/requirements.txt
filelock 3.20.3 -> 4.2.1

Pillow 13 and filelock 4 require Python >=3.11; both images use 3.12. Our usage of each is limited to the core API (Image.open/resize/save, ImageDraw, ImageFont.load_default; FileLock(path, timeout) + Timeout).

Supersedes Dependabot #82, #83, #86, #87, #88, #90.

torch 2.13 (#89) intentionally not taken: torchvision 0.25 pins torch==2.10.0 and torchaudio has no release past 2.11.1, so the bump breaks the sparrow image build. The alert (torch.jit.script memory corruption, low) is not reachable - the code never calls jit.script.

sparrow/requirements.txt
  certifi   2024.7.4 -> 2026.10.18  (critical: compromised emSign CAs)
  Pillow    12.3.0   -> 13.0.0      (critical/high: ~40 decoder memory-safety and DoS issues)
  urllib3   2.7.0    -> 2.8.0       (high: proxy TLS config ignored, unbounded chunk buffering)
  filelock  3.20.3   -> 4.2.1       (moderate: UnixFileLock truncate/chmod via rename)

starlink/requirements.txt
  filelock  3.20.3   -> 4.2.1

Pillow 13 and filelock 4 require Python >=3.11; both images use 3.12.
Our usage of each is limited to the core API (Image.open/resize/save,
ImageDraw, ImageFont.load_default; FileLock(path, timeout) + Timeout).

Supersedes Dependabot #82, #83, #86, #87, #88, #90.

torch 2.13 (#89) intentionally not taken: torchvision 0.25 pins
torch==2.10.0 and torchaudio has no release past 2.11.1, so the bump
breaks the sparrow image build. The alert (torch.jit.script memory
corruption, low) is not reachable - the code never calls jit.script.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@brucedemuro
Bruno Demuro (brucedemuro) merged commit 8fa31e8 into main Nov 12, 2026
5 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are recorded for the dependency-pin updates in Sparrow and Starlink.

No open issues 🎉

What changed in this PR

Updates dependency pins in the Sparrow and Starlink services to address reported security vulnerabilities, consolidating the related Dependabot updates.

Changes:

  • Upgrades Sparrow’s urllib3 to 2.8.0, certifi to 2026.10.18, and Pillow to 13.0.0.
  • Upgrades filelock to 4.2.1 in both services.
  • Leaves the PyTorch dependency stack unchanged to avoid the compatibility conflicts described in the PR.
File Description
starlink/​requirements.txt Updates filelock to 4.2.1 for locking security fixes.
sparrow/​requirements.txt Updates urllib3, certifi, filelock, and Pillow for security fixes.

Review effort: Balanced

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants