Skip to content

fix: refresh Debian bases and remove perl to drop unfixed CVEs - #70

Merged
tmendo merged 2 commits into
mainfrom
fix/remove-perl
Jul 22, 2026
Merged

fix: refresh Debian bases and remove perl to drop unfixed CVEs#70
tmendo merged 2 commits into
mainfrom
fix/remove-perl

Conversation

@poupas

@poupas poupas commented Jul 20, 2026

Copy link
Copy Markdown
Member

Base-image security refresh for release v3.0.76.

Remove perl

perl is unused at runtime but pulled in via ipcalc and shipped as the Essential perl-base, exposing unfixed Debian 12 CVEs: CVE-2026-57433 (Storable), CVE-2026-12087 (Socket), CVE-2026-13221 (regex engine). None are fixed in bookworm (or trixie 5.40.1).

  • Drop ipcalc, replacing its address check with a native IPv4 test in _lib.sh (verified behavior-identical across 16 cases).
  • Force-remove perl-base in the same layer so the files leave the merged filesystem.

Verified in debian:12.15-slim and debian:13.6-slim: no perl packages remain and every runtime tool (bash, ip, wg, wg-quick, iptables, dnsmasq, getent, useradd, setpriv, update-ca-certificates) still works.

Bump Debian base images

  • Legacy base: debian:12.14-slim -> debian:12.15-slim (Dockerfile + farcaster-go, contrib, test images).
  • Modern base: debian:13-slim -> debian:13.6-slim (pinned to the latest trixie point release, matching the legacy pinning convention).

@poupas
poupas requested a review from a team as a code owner July 20, 2026 20:17
@snyk-io

snyk-io Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@snyk-io

snyk-io Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@poupas poupas changed the title fix: remove perl to drop unfixed CVEs fix: refresh Debian bases and remove perl to drop unfixed CVEs Jul 20, 2026
@poupas poupas closed this Jul 20, 2026
@poupas poupas reopened this Jul 20, 2026
@poupas
poupas force-pushed the fix/remove-perl branch from 02338c0 to 69c5565 Compare July 20, 2026 21:05
@tmendo
tmendo merged commit 371ba8a into main Jul 22, 2026
12 checks passed
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