fix: upgrade nginx base image to fix CVE-2026-42945 (CVSS 9.2 critical RCE)#1796
Open
zethis wants to merge 1 commit into
Open
fix: upgrade nginx base image to fix CVE-2026-42945 (CVSS 9.2 critical RCE)#1796zethis wants to merge 1 commit into
zethis wants to merge 1 commit into
Conversation
Switch from nginx:stable-alpine (1.26.x, vulnerable) to nginx:1.31-alpine which includes the fix for CVE-2026-42945, a heap buffer overflow in ngx_http_rewrite_module allowing unauthenticated RCE. Affected: nginx 0.6.27 – 1.30.0 Fixed in: nginx 1.30.1, 1.31.0 Ref: https://nginx.org/en/security_advisories.html
|
Author
|
The E2E test failure is unrelated to this change. The error is: These are Playwright browser dependencies that don't exist under their old names on Ubuntu Noble (24.04). The same failure is reproducible on other unrelated PRs (e.g. Our change is a single-line Dockerfile bump with no effect on tests. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



What
Switches the production stage base image from
nginx:stable-alpinetonginx:1.31-alpine.Why
CVE-2026-42945 — Heap-based Buffer Overflow in
ngx_http_rewrite_modulenginx:stable-alpineships 1.26.x)Change
nginx:stable-alpinecurrently resolves to nginx 1.26.x which is vulnerable. Pinning to1.31-alpineensures the patched version is used. This can be reverted tonginx:stable-alpineonce the stable branch is updated upstream by the nginx team.