Skip to content

October 2026 security patches - #411

Merged
irvingpop merged 2 commits into
mainfrom
security-patches-2026-10
Oct 22, 2026
Merged

irvingpop merged 2 commits into
mainfrom
security-patches-2026-10

Conversation

@irvingpop

Copy link
Copy Markdown
Collaborator

Summary

  • Pin base image to python:3.14.9-slim-trixie (latest 3.14 patch). This forces a full rebuild, so cached layers cannot keep old OS packages.
  • Install ca-certificates by name in all stages. The image has 20250419+deb13u1 (DSA-6572-1).
  • Run apt-get upgrade in the builder stage too.
  • Remove pip from the runtime image. Its vendored urllib3 2.7.0, msgpack 1.1.2 and setuptools 70.3.0 have HIGH CVEs, and no pip release fixes them yet. The app does not use pip at runtime. The dev image keeps pip.
  • Bump cryptography ^48 -> ^50 (PYSEC-2026-3552/3553/3554). This is the only major version bump.
  • poetry update within the current limits: Django 5.2.18, urllib3 2.8.0, certifi 2026.10.19, sentry-sdk, boto3, allauth, gunicorn 26.2, and others.
  • Poetry 2.5.1 in the Dockerfile and CI.

Docker Scout (linux/arm64 runtime image)

Severity main (fresh build) this branch
Critical 2 0
High 17 1
Medium ~22 1

docker scout cves --only-fixed: no vulnerable packages. Open items with no Debian fix yet: zlib CVE-2026-85091 (HIGH), tar CVE-2025-45582 (MEDIUM), and 49 LOW findings in base OS packages.

Testing

  • pytest: 84 passed
  • ruff check: passed
  • pip-audit on the lockfile: no known vulnerabilities
  • Container smoke test: gunicorn boots. /healthz fails only on the database check because no database was connected. The image from main gives the same result.

🤖 Generated with Claude Code

irvingpop and others added 2 commits October 22, 2026 05:01
- 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
- Run apt-get upgrade in the builder stage too
- Bump cryptography to ^50 (fixes PYSEC-2026-3552/3553/3554)
- poetry update within existing constraints (Django 5.2.18, urllib3 2.8.0,
  certifi 2026.10.19, sentry-sdk, boto3, allauth, etc.)
- Poetry 2.5.1 in Dockerfile and CI

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
pip is not needed at runtime and its vendored urllib3 2.7.0, msgpack 1.1.2
and setuptools 70.3.0 carry HIGH CVEs with no fixed pip release yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@irvingpop
irvingpop merged commit 73ce709 into main Oct 22, 2026
5 checks passed
@irvingpop
irvingpop deleted the security-patches-2026-10 branch October 22, 2026 13:14
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