You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Dockerfile pins haproxy:3.4.2-alpine (frozen 2026-07-06), so v0.5.0 and nightly ship 6 fixable HIGH CVEs — #178 again #190
This is #178's root cause again. #179 fixed that one by moving the base from one patch tag to another, FROM haproxy:3.4.2-alpine. Docker's official images don't rebuild old patch tags, so that base has been frozen since 2026-07-06. Every image published since, including v0.5.0/latest and the 2026-10-04 master/nightly rebuild, carries the same out-of-date Alpine packages. The weekly rebuild can't help, because the base it rebuilds from never changes.
Findings
Trivy, HIGH/CRITICAL with a fix available, on v0.5.0 (sha256:1f5038b5…):
keep a patch pin but let Dependabot/Renovate bump the DockerfileFROM.
One caution from #180: the 3.2 → 3.4 bump in v0.5.0 broke /version calls. A test that hits /version, /containers/json and /events through the proxy would make base bumps safe to take routinely.
Still reproducing on latest / v0.5.0 (sha256:1f5038b5…, built 2026-07-27), now 12 days after this was opened. The Dockerfile still has FROM haproxy:3.4.2-alpine.
An independent scan with OSV-Scanner v2.7.0 gives the same picture, 4 critical and 19 high, all in the frozen base and all fixed in Alpine:
libssl3 / libcrypto3 3.5.7-r0, fixed in 3.5.8-r0
pcre2 10.47-r1, fixed in 10.48-r0 / 10.49-r0
zlib 1.3.2-r0, fixed in 1.3.2-r1 (new since this issue was opened)
The rolling base now clears all of them, including the pcre2 10.49 one listed above as pending:
$ fortin 3.4.2-alpine 3.4-alpine;do docker run --rm --entrypoint sh haproxy:$t -c \ 'haproxy -v | head -1 | cut -d" " -f1-3; apk list -I | grep -E "^(libssl3|libcrypto3|pcre2|zlib)-[0-9]" | cut -d" " -f1 | tr "\n" " "; echo'; doneHAProxy version 3.4.2-9feeb3287libcrypto3-3.5.7-r0 libssl3-3.5.7-r0 pcre2-10.47-r1 zlib-1.3.2-r0HAProxy version 3.4.7-8872a26libcrypto3-3.5.9-r0 libssl3-3.5.9-r0 pcre2-10.49-r0 zlib-1.3.2-r1
So FROM haproxy:3.4-alpine (option 1 under point 2 above) would let the existing weekly rebuild keep latest/nightly patched without anyone having to remember. Happy to open a PR for that plus a smoke test hitting /version, /containers/json and /events through the proxy, if that'd be welcome.
Adding a data point for the 3.4.x bump: besides the Alpine CVEs above, HAProxy 3.4.3–3.4.7 carry eight BUG/MAJOR fixes, and one is reachable with this image's config: "h1-htx: report an error on a too long chunk-size line" (3.4.7, haproxy commit 2e4ba6a).
On v0.5.0 (HAProxy 3.4.2), a chunked request whose chunk-size line is longer than the buffer, sent after the request was refused by a deny, leaves HAProxy using the container's whole CPU limit. It was still spinning 25 minutes after the client disconnected. Allowed paths did not spin in our tests.
Workaround until a release: http-request reject if { req.hdr(transfer-encoding) -m found }, placed before the first http-request deny. A deny on the same condition made it worse: every path then spun.
Moving the base to haproxy:3.4.7-alpine or later would fix this and the CVEs listed here.
This image isn't abandoned, an efford towards fixing this issue for good by building from the lts tag and ensure this image lives up to modern practices is being taken in #185, and fixing the current holes in #186.
Please review those PRs.
Activity
sammcj commentedon Oct 22, 2026
Still reproducing on
latest/v0.5.0(sha256:1f5038b5…, built 2026-07-27), now 12 days after this was opened. TheDockerfilestill hasFROM haproxy:3.4.2-alpine.An independent scan with OSV-Scanner v2.7.0 gives the same picture, 4 critical and 19 high, all in the frozen base and all fixed in Alpine:
libssl3/libcrypto33.5.7-r0, fixed in 3.5.8-r0pcre210.47-r1, fixed in 10.48-r0 / 10.49-r0zlib1.3.2-r0, fixed in 1.3.2-r1 (new since this issue was opened)The rolling base now clears all of them, including the pcre2 10.49 one listed above as pending:
So
FROM haproxy:3.4-alpine(option 1 under point 2 above) would let the existing weekly rebuild keeplatest/nightlypatched without anyone having to remember. Happy to open a PR for that plus a smoke test hitting/version,/containers/jsonand/eventsthrough the proxy, if that'd be welcome.erised-ux commentedon Nov 10, 2026
Adding a data point for the 3.4.x bump: besides the Alpine CVEs above, HAProxy 3.4.3–3.4.7 carry eight BUG/MAJOR fixes, and one is reachable with this image's config: "h1-htx: report an error on a too long chunk-size line" (3.4.7, haproxy commit 2e4ba6a).
On v0.5.0 (HAProxy 3.4.2), a chunked request whose chunk-size line is longer than the buffer, sent after the request was refused by a
deny, leaves HAProxy using the container's whole CPU limit. It was still spinning 25 minutes after the client disconnected. Allowed paths did not spin in our tests.Workaround until a release:
http-request reject if { req.hdr(transfer-encoding) -m found }, placed before the firsthttp-request deny. Adenyon the same condition made it worse: every path then spun.Moving the base to
haproxy:3.4.7-alpineor later would fix this and the CVEs listed here.sammcj commentedon Nov 14, 2026
I suspect that @Tecnativa aren't maintaining the docker-socket-proxy project anymore.
These CVEs are quite worrying, I suspect it might be time for a community driven fork.
david-banon-tecnativa commentedon Nov 16, 2026
This image isn't abandoned, an efford towards fixing this issue for good by building from the lts tag and ensure this image lives up to modern practices is being taken in #185, and fixing the current holes in #186.
Please review those PRs.