fix(docs-portal): remediar CVE CRITICAL en libssl3/libcrypto3 (Alpine)
Run 144 de deploy-docs.yaml encontro un CVE CRITICAL real (CVE-2026-31789, heap buffer overflow en OpenSSL) en libssl3/libcrypto3 de la base nginx:1.27-alpine, con fix ya publicado por Alpine (3.3.3-r0 -> 3.3.7-r0). Se agrega apk upgrade puntual de esos dos paquetes en el Dockerfile. Verificado localmente: docker build OK + Trivy real en exit 0 (0 vulnerabilidades).
This commit is contained in:
@@ -16,6 +16,14 @@ RUN mkdocs build --strict
|
|||||||
# --- Stage 2: sirve el sitio estático generado con nginx ---
|
# --- Stage 2: sirve el sitio estático generado con nginx ---
|
||||||
FROM nginx:1.27-alpine
|
FROM nginx:1.27-alpine
|
||||||
|
|
||||||
|
# libssl3/libcrypto3 de la base nginx:1.27-alpine traen un CVE CRITICAL
|
||||||
|
# con fix ya publicado por Alpine (CVE-2026-31789, heap buffer overflow
|
||||||
|
# en OpenSSL) -- detectado por el gate de Trivy imagen del pipeline
|
||||||
|
# (run 144). Solo se actualizan estos dos paquetes puntuales.
|
||||||
|
RUN apk update \
|
||||||
|
&& apk upgrade --no-cache libssl3 libcrypto3 \
|
||||||
|
&& rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
COPY --from=build /site/site /usr/share/nginx/html
|
COPY --from=build /site/site /usr/share/nginx/html
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|||||||
Reference in New Issue
Block a user