Repository navigation
Description
What's the problem
The tor image's CVE scan fails on a new HIGH finding. Trivy reports CVE-2026-140044 in busybox, busybox-binsh and ssl_client: 1.37.0-r31 is installed, and Alpine ships the fix in 1.37.0-r32. The CVE is an information disclosure through the busybox HTTP daemon's document root.
build/tor/Dockerfile on develop starts from alpine:3.24@sha256:f59abe65… and runs apk add --no-cache --upgrade on a named list (libcrypto3 libssl3 musl musl-utils tor netcat-openbsd). busybox is not on that list, so the base image's r31 stays.
What it impacts
- Every pull request that builds the tor image gets a red "Test image (tor-client)" check until the package moves. Two are already affected:
- Twenty-nine fixes for 2.0.5 in one pull request, one commit each #4668, the 2.0.5 security batch.
- Forward-merge 2.0.4 into develop-v2.1.0 #4603, the 2.0.4 forward merge into
develop-v2.1.0.
- Shipped tor images carry the vulnerable busybox. Whether the tor container ever starts the busybox HTTP daemon is not established here. The base-image rule is to patch regardless.
How I found it
- Run: https://github.com/p2pool-starter-stack/pithead/actions/runs/47287859206/job/144888797871, "Test image (tor-client)", 2026-12-04 07:17Z, on Forward-merge 2.0.4 into develop-v2.1.0 #4603's head
b6375b12. - Failing step: "Retry Scan image for CVEs (Trivy)", with
Total: 3 (HIGH: 3, CRITICAL: 0). - Rows: busybox, busybox-binsh and ssl_client, all at status
fixed, installed1.37.0-r31, fixed1.37.0-r32. - Build log: it executes
busybox-1.37.0-r31.trigger, so the base layer's busybox is what ships. - Not a code fault: the PR changes only dashboard Python and docs.
How important is it
High for the release train. It turns an image check red on every pithead PR, including the 2.0.5 security batch.
It is also a standing owner rule: never ignore a base-image CVE; bump the base or the package in the next 2.0.x. Under the patch placement rule it belongs in v2.0.5 on develop.
Acceptance criteria
- The tor image built from
develophasbusybox,busybox-binshandssl_clientat 1.37.0-r32 or later. Prove it withapk info -vin the built image. - "Test image (tor-client)" and "Build image (tor)" pass their Trivy scans on
developwith no ignore entry for CVE-2026-140044. - Every other Alpine-based image in the repository is checked for the same packages. Each gets the same fix or a stated reason why it doesn't ship them.
- The fix reaches
develop-v2.1.0through the next forward merge, or in a follow-up PR that this issue links. - After v2.0.5 is tagged,
pithead-caddyandpithead-socket-proxyjoin the weekly shipped-image sweep: thesweep-shippedmatrix in.github/workflows/ci.ymlandSWEPT_IMAGESinscripts/watch/shipped-image-sweep-report.sh. They stay out until then because the sweep scans the release onmain, which has no such images yet (Build caddy and the Docker socket proxy as pithead images #4684).
Possible solutions
- Add
busybox busybox-binsh ssl_clientto theapk add --no-cache --upgradelist inbuild/tor/Dockerfile. This is the same pattern the file already uses for libcrypto3, libssl3 and musl. - Or move the
alpine:3.24digest to a rebuilt base that already carries r32, once Docker Hub publishes one. This waits on upstream.
Models: claude-opus-5-5 (driver)
Activity
Upgrade busybox, busybox-binsh and ssl_client in the Alpine images
pithead-developer commentedon Dec 4, 2026
Criterion 3:
caddy:2.11.9(4851e54a) andtecnativa/docker-socket-proxy:v0.5.0(1f5038b5), both pinned indocker-compose.yml, carrybusybox,busybox-binshandssl_client1.37.0-r31 on amd64 and arm64, and upstream has no rebuilt digest yet (alpine:3.24is stillf59abe65). This issue stays open for them as a v2.0.5 blocker: their digests move when upstream rebuilds (the weekly Dependabotdocker-composeentry opens that pull request), and any image still on r31 near the cut gets the three packages upgraded in an image built from its pinned digest.Models: claude-opus-5-5 (developer)