Skip to content

fix(nginx): bump base image to 1.31.9 for CVE-2026-123007 - #524

Merged
Luisivg merged 2 commits into
mainfrom
fix/nginx-cve-2026-123007
Nov 19, 2026
Merged

Luisivg merged 2 commits into
mainfrom
fix/nginx-cve-2026-123007

Conversation

@Luisivg

@Luisivg Luisivg commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

nginx 1.31.8 is affected by the HTTP/2 flow-control integer underflow (CVE-2026-123007, "nginx2root", CVSS 4.0 9.2) that can lead to heap corruption and remote code execution in the worker process. 1.31.9 is the fixed mainline release.

Pin the base image as tag@digest so the nginx version is visible in reviews and scans while keeping the build reproducible.

Summary

Briefly describe the purpose of this PR and what changes it introduces.

Checklist

Additional context

Add any screenshots, test output, or notes for reviewers here.

nginx 1.31.8 is affected by the HTTP/2 flow-control integer underflow
(CVE-2026-123007, "nginx2root", CVSS 4.0 9.2) that can lead to heap
corruption and remote code execution in the worker process. 1.31.9 is
the fixed mainline release.

Pin the base image as tag@digest so the nginx version is visible in
reviews and scans while keeping the build reproducible.
@Luisivg
Luisivg requested a review from a team as a code owner November 19, 2026 08:55
Copilot AI balanced review requested due to automatic review settings November 19, 2026 08:55
@github-actions

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The security rationale in nginx/Dockerfile understates CVE-2026-123007’s affected-version range and needs the lower bound corrected from 1.31.0 to 1.9.5.

1 open issue
What changed in this PR

Updates the nginx container’s runtime base image reference to target the 1.31.9 security release for CVE-2026-123007 while retaining reproducible builds.

Changes:

  • Uses an explicit 1.31.9 tag alongside an updated SHA-256 digest.
  • Adds comments explaining the security rationale and tag-and-digest pinning.
File Description
nginx/​Dockerfile Updates the nginx base image reference and documents the security upgrade.

Review effort: Balanced

Comment thread nginx/Dockerfile Resolved
@greptile-apps

greptile-apps Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge based on the reviewed code.

Summary

Updates the proxy’s Nginx base image pin to target 1.31.9 while keeping builds tied to a fixed digest.

  • The proxy image now uses pinned Nginx 1.31.9.

No actionable issues were found. The image’s contents and supported platforms were not independently verified.

Reviews (1) · Last reviewed commit: "fix(nginx): bump base image to 1.31.9 fo..." · Reviewed by Greptile

…ment

The advisory covers every nginx Open Source release from 1.9.5 up to
1.31.8 (fixed in 1.31.9 mainline and 1.30.7 stable), not only the 1.31.x
mainline series.
@Luisivg
Luisivg force-pushed the fix/nginx-cve-2026-123007 branch from ebf6e3e to 5fecf8d Compare November 19, 2026 09:01
@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

@Luisivg
Luisivg merged commit 084770b into main Nov 19, 2026
41 checks passed
@viodid
viodid deleted the fix/nginx-cve-2026-123007 branch November 19, 2026 12:33
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