Skip to content

Serve the web build from nginx:alpine-slim on main (libexpat CVEs) - #12501

Merged
martyna-mindsdb merged 1 commit into
mainfrom
martyna/soc2-nginx-alpine-slim-main
Oct 19, 2026
Merged

martyna-mindsdb merged 1 commit into
mainfrom
martyna/soc2-nginx-alpine-slim-main

Conversation

@martyna-mindsdb

Copy link
Copy Markdown
Contributor

This is #12500 cherry-picked onto main. #12500 merged to staging, but mindshub's staging hasn't been released to main since 2026-09-10. Snyk/Vanta scan main, so the libexpat findings (CVE-2026-76641, CVE-2026-66046, both high) are still open there.

Linear: https://linear.app/mindsdb/issue/ENG-3415/soc2-switch-mindshub-web-image-to-nginxalpine-slim-libexpat-snyk

File Change
docker/web.Dockerfile Runtime stage FROM nginx:alpine → FROM nginx:alpine-slim

docker/ is a DevOps-owned path, so this needs a @mindsdb/devops approval. When staging is next released to main, this change is already there, so it won't conflict.

Validation: the same one-line change was built and smoke-tested for #12500: nginx -t, the SPA fallback and the /v1/ proxy all passed on the slim image. Main's docker/nginx.conf differs from staging's only in the proxy target (http://api:26866 instead of 127.0.0.1) and uses the same core directives (proxy_pass, proxy_set_header, try_files), which nginx:alpine-slim includes. I didn't rebuild the image from main.

🤖 Generated with Claude Code

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
(cherry picked from commit 68f5022)
@martyna-mindsdb
martyna-mindsdb merged commit d998b78 into main Oct 19, 2026
4 checks passed
@martyna-mindsdb
martyna-mindsdb deleted the martyna/soc2-nginx-alpine-slim-main branch October 19, 2026 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants