Docker image ships vulnerable brotli-libs (CVE-2026-111497 / "Node2Shell"), rebuild needed
Summary
The current hhftechnology/crowdsec-manager:latest image contains brotli-libs 1.2.0-r0, which is affected by CVE-2026-111497 (out-of-bounds write in the Brotli decoder, CVSS 4.0 score 9.2, also known as "Node2Shell"/"HTTP2Shell"). Alpine already provides the fixed package brotli-libs 1.2.1-r0.
Details
- Image:
hhftechnology/crowdsec-manager:latest- digest
sha256:23bfce9f43fad5385b0df9373b61bdf2fc98ab347a7b0df14bdc2a028c47fbbf - built 2026-05-21, Docker Hub tag last updated 2026-05-23
- digest
- Base: Alpine 3.23
- Installed:
brotli-libs 1.2.0-r0 - Available fix:
brotli-libs 1.2.1-r0(apk list -uinside the container shows it as upgradable) brotli-libsis pulled in as a dependency ofcurl(apk add ... curlin the runtime stage of the Dockerfile);libcurl.solinkslibbrotlidec.so.
Impact
Probably low for crowdsec-manager itself, as the Go backend doesn't seem to decode Brotli data, and curl is only used for the healthcheck. However, vulnerability scanners (Trivy, Grype, etc.) will flag the image, and the vulnerable library is present for anything that uses curl/libcurl inside the container.
Suggested fix
Rebuilding the image is enough, since the runtime stage uses alpine:latest and apk --no-cache add, so a fresh build pulls in brotli-libs 1.2.1-r0. Optionally:
- Add
apk --no-cache upgradein the runtime stage so security fixes in the base image are always included. - Schedule periodic image rebuilds (e.g. weekly via GitHub Actions) so base image fixes get picked up without a code change.
Side note
The repository has commits up to 2026-10-22, but the latest tag on Docker Hub hasn't been updated since 2026-05-23, so the image publishing workflow may not be running.
References
- CVE: https://nvd.nist.gov/vuln/detail/CVE-2026-111497
- GitHub advisory: GHSA-9v8h-qqgm-4m35
- Upstream fix: https://github.com/google/brotli/commit/b418fa81c48262a86a95332b0bc6d62c30aa78b6 (Brotli 1.2.1)