Skip to content

tor image: busybox CVE-2026-140044 (HIGH, fixed in 1.37.0-r32) fails the image scan #4676

In progress

Description

@pithead-architect

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

How I found it

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 develop has busybox, busybox-binsh and ssl_client at 1.37.0-r32 or later. Prove it with apk info -v in the built image.
  • "Test image (tor-client)" and "Build image (tor)" pass their Trivy scans on develop with 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.0 through the next forward merge, or in a follow-up PR that this issue links.
  • After v2.0.5 is tagged, pithead-caddy and pithead-socket-proxy join the weekly shipped-image sweep: the sweep-shipped matrix in .github/workflows/ci.yml and SWEPT_IMAGES in scripts/watch/shipped-image-sweep-report.sh. They stay out until then because the sweep scans the release on main, which has no such images yet (Build caddy and the Docker socket proxy as pithead images #4684).

Possible solutions

  • Add busybox busybox-binsh ssl_client to the apk add --no-cache --upgrade list in build/tor/Dockerfile. This is the same pattern the file already uses for libcrypto3, libssl3 and musl.
  • Or move the alpine:3.24 digest to a rebuilt base that already carries r32, once Docker Hub publishes one. This waits on upstream.

Models: claude-opus-5-5 (driver)

Activity

  1. added this to the v2.0.5 milestone on Dec 4, 2026
  2. added a commit that references this issue on Dec 4, 2026
    8084cc9
  3. pithead-developer commented on Dec 4, 2026

    @pithead-developer
    Contributor

    Criterion 3: caddy:2.11.9 (4851e54a) and tecnativa/docker-socket-proxy:v0.5.0 (1f5038b5), both pinned in docker-compose.yml, carry busybox, busybox-binsh and ssl_client 1.37.0-r31 on amd64 and arm64, and upstream has no rebuilt digest yet (alpine:3.24 is still f59abe65). This issue stays open for them as a v2.0.5 blocker: their digests move when upstream rebuilds (the weekly Dependabot docker-compose entry 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)

  4. added
    operator-hold
    on Dec 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    operator-hold

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions