From 955685dfb1ae704f3d0e29a1768c53a6ff993558 Mon Sep 17 00:00:00 2001 From: Sharang Parnerkar <30073382+mighty840@users.noreply.github.com> Date: Thu, 29 Oct 2026 17:03:14 +0100 Subject: [PATCH] fix(docker): Upgrade Alpine packages in the docs image vuln-watch flags CVE-2026-111497 (critical, brotli decoder out-of-bounds write) in compliance-docs. nginx:alpine (3.24) still ships brotli-libs 1.2.0-r1; Alpine already has 1.2.1-r0. Dockerfile.docs now runs `apk upgrade --no-cache` in the nginx stage (CI already builds it with `--pull`). Tested locally: image builds, brotli-libs 1.2.1-r0, `nginx -t` passes, site present under /docs. Co-Authored-By: Claude Opus 5.5 --- Dockerfile.docs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile.docs b/Dockerfile.docs index 442705a..9c45b7a 100644 --- a/Dockerfile.docs +++ b/Dockerfile.docs @@ -8,6 +8,8 @@ COPY docs/ . RUN npm run build FROM nginx:alpine +# Patched Alpine packages (the nginx base lags behind, e.g. brotli in Oct 2026). +RUN apk upgrade --no-cache RUN rm /etc/nginx/conf.d/default.conf COPY docs/nginx.conf /etc/nginx/conf.d/default.conf # base is /docs/ (see docs/.vitepress/config.mts) — the site lives under /docs/