Skip to content

October 2026 security patches - #460

Merged
irvingpop merged 3 commits into
masterfrom
irving/202610-security-patches
Oct 22, 2026
Merged

irvingpop merged 3 commits into
masterfrom
irving/202610-security-patches

Conversation

@irvingpop

Copy link
Copy Markdown
Collaborator

Summary

  • Pin base image to python:3.14.9-slim-trixie and install ca-certificates explicitly (DSA-6572-1). The new tag invalidates the CI GHA build cache, so apt-get upgrade runs again.
  • Remove pip from the prod image (system and venv). It is not used at runtime, and its vendored urllib3, msgpack and setuptools carry 6 HIGH / 2 MEDIUM CVEs.
  • Pin multidict ^6.9.1 (fixes PYSEC-2026-4244) without the 7.x major bump.
  • poetry update within existing constraints (aiohttp 3.14.5, urllib3 2.8.0, certifi 2026.10.19, sentry-sdk 2.73.0, etc.). No major version updates.
  • Poetry 2.5.1 in Dockerfile and CI.

Verification

  • make lint test-cov: 249 passed, 10 skipped
  • pip-audit: no known vulnerabilities
  • Docker Scout (linux/arm64): 0 critical, 1 high, 1 medium (was 0C / 6H / 3M). Remaining:
  • Container starts and /health returns 200

Follow-up

The CI build cache keeps the apt-get upgrade layer until the base image tag changes. Future Debian-only fixes need a tag bump or a cache-bust arg.

🤖 Generated with Claude Code

irvingpop and others added 3 commits October 22, 2026 05:20
- Pin base image to python:3.14.9-slim-trixie and install ca-certificates
  explicitly so the DSA-6572-1 ca-certificates fix lands on rebuild. The new
  tag also invalidates the CI build cache, so apt-get upgrade runs again.
- Remove pip from the prod image (system and venv). It is not used at
  runtime, and its vendored urllib3, msgpack and setuptools carry CVEs.
- Pin multidict ^6.9.1 (fixes PYSEC-2026-4244) without the 7.x major bump
- poetry update within existing constraints (aiohttp 3.14.5, urllib3 2.8.0,
  certifi 2026.10.19, sentry-sdk 2.73.0, etc.)
- Poetry 2.5.1 in Dockerfile and CI

Docker Scout: 0 critical, 1 high (zlib CVE-2026-85091), 1 medium
(tar CVE-2025-45582). Both have no fix in Debian.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3.12 is no longer tested anywhere. Bump the ruff and black targets to
py314 and apply the resulting ruff fixes (unquoted forward references,
which PEP 649 makes safe, and Generator default type args).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@irvingpop
irvingpop merged commit c6ea75c into master Oct 22, 2026
5 checks passed
@irvingpop
irvingpop deleted the irving/202610-security-patches branch October 22, 2026 13:13
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.

1 participant