Repository navigation
Description
Problem
FOCA's images inherit OS packages with known, fixable vulnerabilities from their pinned python:3.X-slim-trixie base images. The current dev images (e.g., 20261107-py3.13, commit d5595dc) carry zlib1g 1:1.3.dfsg+really1.3.1-1+b1 with CVE-2026-76844 and CVE-2026-85091 (high, fixed) and CVE-2026-27171 (medium). The fix (1:1.3.dfsg+really1.3.1-1+deb13u1) is in trixie-security, but not yet in the upstream base images, not even in the latest python:3.13-slim-trixie digest.
All images built on FOCA's image (proTES, cloud-registry, trs-filer, Pubgrade, Pubgrade-Sidecar) inherit these findings; Pubgrade-Sidecar and cloud-registry accept them with temporary Trivy ignores that expire on 2026-11-30.
docker/Dockerfile already upgrades apt alone for CVE-2026-109518 (#697), which fixes one package at a time and needs a change for each new advisory.
Proposal
Have the base stage install all pending Debian updates (apt-get upgrade) instead of upgrading single packages, so that every image build picks up the OS security fixes available at that time, not only once the upstream image is rebuilt and Dependabot bumps the digest. Update the test of the base stage and the docs (image section, release notes).
Acceptance criteria
- The images of all Python versions have no fixable critical or high findings in the CI scan, zlib1g included.
- Docs say that the image installs the Debian updates available at build time.
Follow-up
After FOCA 0.22.0 is released and downstream images move to it, the temporary Trivy ignores of the zlib1g findings in Pubgrade-Sidecar and cloud-registry can be removed.
Activity
docs: add PR number to release notes
build: fail on OS updates kept back