Require nginx 1.30.7 so the laravel image can be signed #85

Merged
Patrick merged 1 commit from patrick/nginx-1.30.7 into main 2026-11-19 20:55:15 -05:00 AGit
Owner

main's build after #84 merged pushed a laravel image that Harbor's scan flagged with 4 Critical CVEs, all in nginx 1.30.6 (CVE-2026-113425, CVE-2026-121810, CVE-2026-123007, CVE-2026-123633; fixed in 1.30.7-r0). Harbor refuses to serve images with a Critical finding, so cosign couldn't pull it to sign, and the release stopped. The other 5 images signed fine.

Cause: Alpine 3.24 (base of php:8.5.12-fpm-alpine) already ships nginx 1.30.7, but the runner's plain docker build reused a cached apk add layer holding 1.30.6.

Fix: 'nginx>=1.30.7' in the runtime apk add. Changing the line rebuilds that layer, and the build fails outright if a vulnerable nginx ever resolves again.

Checked: Alpine 3.24 APKINDEX lists nginx 1.30.7-r0; the base image is Alpine 3.24.4. Not built locally (no Docker daemon here); this PR's CI doesn't build images either, so main's build after merge is the real test.

Follow-up worth considering: the shared workflow builds with plain docker build and no --pull, so any package fix can be masked by a cached layer the same way.

🤖 Generated with Claude Code

main's build after #84 merged pushed a **laravel** image that Harbor's scan flagged with **4 Critical CVEs, all in nginx** 1.30.6 (CVE-2026-113425, CVE-2026-121810, CVE-2026-123007, CVE-2026-123633; fixed in 1.30.7-r0). Harbor refuses to serve images with a Critical finding, so cosign couldn't pull it to sign, and the release stopped. The other 5 images signed fine. **Cause:** Alpine 3.24 (base of `php:8.5.12-fpm-alpine`) already ships nginx 1.30.7, but the runner's plain `docker build` reused a cached `apk add` layer holding 1.30.6. **Fix:** `'nginx>=1.30.7'` in the runtime `apk add`. Changing the line rebuilds that layer, and the build fails outright if a vulnerable nginx ever resolves again. **Checked:** Alpine 3.24 APKINDEX lists nginx 1.30.7-r0; the base image is Alpine 3.24.4. Not built locally (no Docker daemon here); this PR's CI doesn't build images either, so main's build after merge is the real test. **Follow-up worth considering:** the shared workflow builds with plain `docker build` and no `--pull`, so any package fix can be masked by a cached layer the same way. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Require nginx 1.30.7 so the laravel image can be signed
All checks were successful
Application Tests / frontend (pull_request) Successful in 44s
Application Tests / security-audit (pull_request) Successful in 2m30s
Application Tests / php (pull_request) Successful in 3m21s
Application Tests / tag (pull_request) Has been skipped
Application Tests / publish-images (., Dockerfile, laravel) (pull_request) Has been skipped
Application Tests / publish-images (agent-worker, Dockerfile, agent-worker) (pull_request) Has been skipped
Application Tests / publish-images (docker/asterisk, Dockerfile, asterisk) (pull_request) Has been skipped
Application Tests / publish-images (docker/asterisk-config-sync, Dockerfile, asterisk-config-sync) (pull_request) Has been skipped
Application Tests / publish-images (docker/haraka, Dockerfile, haraka) (pull_request) Has been skipped
Application Tests / publish-images (docker/whisper-local, Dockerfile, whisper-local) (pull_request) Has been skipped
Application Tests / scan-images (agent-worker) (pull_request) Has been skipped
Application Tests / scan-images (asterisk) (pull_request) Has been skipped
Application Tests / scan-images (asterisk-config-sync) (pull_request) Has been skipped
Application Tests / scan-images (haraka) (pull_request) Has been skipped
Application Tests / scan-images (laravel) (pull_request) Has been skipped
Application Tests / scan-images (whisper-local) (pull_request) Has been skipped
Application Tests / publish-helm (pull_request) Has been skipped
Application Tests / publish-archives (pull_request) Has been skipped
f7436d6492
main's build after #84 pushed a laravel image Harbor scanned with four
Critical nginx CVEs (CVE-2026-113425, -121810, -123007, -123633,
fixed in 1.30.7-r0). Harbor refuses to serve images with a Critical
finding, so cosign couldn't pull it to sign and the release stopped.

Alpine 3.24 (php:8.5.12-fpm-alpine) already ships 1.30.7; the runner
reused a cached apk layer holding 1.30.6. The version floor rebuilds
that layer and fails the build if a vulnerable nginx ever comes back.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
calltheory/orbital!85
No description provided.