fix(images): build git base images on alpine 3.24.4 #38342
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.39) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 263 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.334
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #38342"
general
weight: 0.35
upodroid
What this PR does / why we need it:
Rebuilds the two git-containing base images on
alpine:3.24.4so they carrylibexpat 2.10.0-r0instead of2.9.0-r0.images/git/Dockerfileandimages/git-custom-k8s-auth/Dockerfileboth pinFROM alpine:3.24.3and installgitwithapk add --no-cache. Both postsubmits (post-test-infra-push-git,post-test-infra-push-git-custom-k8s-auth) run only withrun_if_changed: '^images/git…/', so there is no periodic rebuild: the 2026-10-23 builds still resolvelibexpat 2.9.0-r0from the index of that time.Image scanners still report three IMPORTANT findings against every Prow component built on these bases (deck, hook, crier, sinker, prow-controller-manager via
git-custom-k8s-auth, tide viagit):| CVE | Package | Reported | Fixed |
|---|---|---|---|
| CVE-2026-113351 | libexpat | 2.9.0-r0 | 2.10.0-r0 |
| CVE-2026-117610 | libexpat | 2.9.0-r0 | 2.10.0-r0 |
| CVE-2026-118370 | libexpat | 2.9.0-r0 | 2.10.0-r0 |
Verification that the bump is sufficient:
docker run --rm alpine:3.24.4 apk policy libexpat→2.10.0-r0available fromhttps://dl-cdn.alpinelinux.org/alpine/v3.24/main.git-custom-k8s-auth:v20261023-d6356df2e8:/lib/apk/db/installedhasP:libexpat V:2.9.0-r0, required bygit 2.54.0-r0. Same forgit:v20261023-d6356df2e8.images/alpineis untouched: it installs onlyca-certificates, so it contains nolibexpatand no git.The
FROMtag was the only pinned value; no other Dockerfile change is required.Which issue(s) this PR fixes:
None. CVE remediation for the git base images.
Special notes for your reviewer:
Follow-up after these postsubmits publish new tags: bump the corresponding
baseImageOverridesentries inkubernetes-sigs/prow/.ko.yaml(currentlygit-custom-k8s-auth:v20261023-d6356df2e8for deck, hook, crier, sinker, prow-controller-manager, config-bootstrapper, andgit:v20261023-d6356df2e8for tide). I can send that PR as well once the tags exist.Does this PR introduce a user-facing change?
``
release-note
``NONE