Repository navigation
fix(nginx): bump base image to 1.31.9 for CVE-2026-123007 - #524
Conversation
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.
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
There was a problem hiding this comment.
🟡 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.9tag 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
[Medium impact] The PR appears safe to merge based on the reviewed code. SummaryUpdates the proxy’s Nginx base image pin to target 1.31.9 while keeping builds tied to a fixed digest.
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.
ebf6e3e to
5fecf8d
Compare
|
|




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
git commit -S)Additional context
Add any screenshots, test output, or notes for reviewers here.