Skip to content

fix: upgrade alpine packages in final image to address CVE-2026-63073 - #331

Merged
Farjaad merged 2 commits into
mainfrom
fix/alpine-openssl-cve-2026-63073
Sep 1, 2026
Merged

fix: upgrade alpine packages in final image to address CVE-2026-63073#331
Farjaad merged 2 commits into
mainfrom
fix/alpine-openssl-cve-2026-63073

Conversation

@Farjaad

@Farjaad Farjaad commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Problem

CVE-2026-63073 — OpenSSL DoS via a format string in CMP message validation. Fixed in Alpine's openssl 3.5.8-r0.

The pinned base in Dockerfile ships the vulnerable version:

$ docker run --rm alpine@sha256:28bd5fe8... apk list --installed | grep -E 'libssl|libcrypto'
libcrypto3-3.5.7-r0
libssl3-3.5.7-r0

Bumping the digest does not fix this today. That image is Alpine 3.24.1, built 2026-06-16. Docker Official Images rebuild on Alpine point releases, not on individual package patches, so alpine:latest still resolves to the same digest and will until 3.24.2 ships.

Change

RUN apk --no-cache upgrade in the final stage. The patched package is already in v3.24/main, so this picks it up at build time, and it self-heals future package CVEs during the gap between base image rebuilds.

Verified against the pinned base:

libcrypto3-3.5.8-r0
libssl3-3.5.8-r0

Risk

Low. The runner binary is Go and uses crypto/tls, not libssl — libcrypto3/libssl3 are present only for apk and busybox ssl_client, and nothing here acts as a CMP client. This clears the scanner finding rather than fixing a live exposure.

Related: #325 (points Dependabot at the root Dockerfile so digest bumps actually get proposed).

🤖 Generated with Claude Code

farjaad-opslevel and others added 2 commits September 1, 2026 12:56
The pinned alpine base ships openssl 3.5.7-r0, which is affected by
CVE-2026-63073. The patched 3.5.8-r0 is already published in the apk
repos, but alpine:latest has not been rebuilt since 3.24.1, so bumping
the digest is currently a no-op.

Upgrading at build time picks up the patched package now and self-heals
future package CVEs between base image rebuilds.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@Farjaad Farjaad self-assigned this Sep 1, 2026
@Farjaad
Farjaad requested a review from archf September 1, 2026 17:14
@Farjaad
Farjaad merged commit adc2fd7 into main Sep 1, 2026
4 checks passed
@Farjaad
Farjaad deleted the fix/alpine-openssl-cve-2026-63073 branch September 1, 2026 17:40
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