Repository navigation
fix(image): require git >= 2.54.1-r0 in both Alpine stages (CVE-2026-105437) - #629
Open
gascity-infra-agent[bot] wants to merge 1 commit into
Open
gascity-infra-agent[bot] wants to merge 1 commit into
gascity-infra-agent[bot] wants to merge 1 commit into
Conversation
…105437) Both the gc-build stage (golang:1.26.10-alpine) and the runtime stage (oven/bun:1.4.4-alpine) are Alpine 3.24, whose only git is the fixed 2.54.1-r0. Add an apk version floor so a base that resolves an older, vulnerable git fails the build instead of shipping it. Digest pins are unchanged. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
gascity-infra-agent
Bot
requested a review
from julianknutsen
as a code owner
November 12, 2026 20:56
This branch has not been deployed
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.
HOLD: merge after AH stamp (~11-19)
This image (
ghcr.io/gascity/gascity-registry) is not in the dedicated box bundle. It is, however, sealed into the identity-ha release bundle and deployed on identity-ha. See infraidentity-ha-v0/flux/apps/registry/registry{,-apex}.yaml,corp-public/flux/apps/image-automation/identity-autodeploy.yaml(id-registry/id-registry-apex) andcharts/tools/catalog/testdata/bundles/identity-ha/images.json. Under the release freeze, anything touching identity-ha holds until the AH stamp.Summary
Fixes CVE-2026-105437 for git in both Alpine stages of the
Dockerfile:gc-buildstage (golang:1.26.10-alpine@sha256:27f2…);oven/bun:1.4.4-alpine@sha256:4cf8…).Both stages are Alpine 3.24. Its only git is
2.54.1-r0, which is fixed: Alpine secdb lists CVE-2026-105437 under2.54.1-r0, and upstream RelNotes 2.56.1 says the fix was merged up from v2.54.1. This PR adds the apk version floor'git>=2.54.1-r0'to bothapk addlines. If the base ever resolves an older, vulnerable git, the build now fails instead of shipping it. The digest pins are unchanged.The Debian
oven/bun:1.4.4build stage doesn't install git, so it needs no change.Verification (local)
Rollout / rollback
imageworkflow publishesmain-<epoch>/apex-main-<epoch>.promote.ymlgates them toprod-*/apex-prod-*, and the identity-ha bundle picks them up via its ImagePolicies. This PR has no other deploy steps.prod-*tag in the identity-ha bundle.🤖 Generated with Claude Code