Repository navigation
fix(automation): advance Debian snapshot to 20261126 for krb5 and zstd security fixes - #815
Conversation
|
Warning Your comment is too long (maximum is 65536 characters), so the coverage report was not added. See the job log for how to reduce it. |
all-hands-bot
left a comment
There was a problem hiding this comment.
This review was posted by an AI agent (OpenHands).
Fresh pass of the current head 2e28b79e67ccbde9d7c62482345b7a34400abe92 against current main (515eb37).
Scope gate: the change is a one-line ARG DEBIAN_SNAPSHOT default bump in containers/Dockerfile, owned by this repository (AGENTS.md cross-repository boundaries) and maintained by the scheduled update-debian-snapshot.yml workflow. No repository move or maintainer decision is needed.
Verification on the current head:
- The diff vs
mainis exactly the one snapshot line (20261112T000000Z→20261124T000000Z); no other Dockerfile change rides along, and package sources, keyring, apt retry config, and pip/uv pins are untouched. - The version claims in the PR body check out against snapshot.debian.org
trixie-securityPackages indexes:libgssapi-krb5-2/libkrb5support0are1.21.3-5+deb13u1at20261112,20261116, and20261118(so a routine weekly bump on the 2026-11-25 scan date could not yet have delivered the fix), and1.21.3-5+deb13u2at20261124— confirmed on both amd64 and arm64.20261124T000000Zis indeed the first midnight snapshot carrying the krb5 update. - Both
debiananddebian-securityarchives resolve for20261124T000000Z(standard 302 → 200 snapshot redirect), and the Docker image for this exact SHA built and published successfully on amd64 and arm64 with the multi-arch manifest published — the CI "Docker" run for2e28b79e…is green, which is stronger evidence than a local rebuild. - The snapshot-selection tooling remains consistent: exactly one
DEBIAN_SNAPSHOTline, still matched bySNAPSHOT_REin.github/scripts/update_debian_snapshot.pyand by the workflow's sed extraction. No test pins the snapshot value. - Focused tests pass on this head:
tests/test_dockerfile.py+tests/test_update_debian_snapshot.py, 10 passed (uv run --frozen). All 10 GitHub Actions checks for this head are green.
Informational, not blocking: 20261124T000000Z is ~1–2 days ahead of the seven-day observation window the weekly snapshot workflow enforces for this scan date (which would select 20261118). This is the PR's disclosed, deliberate trade-off to land the krb5 security fixes sooner within the same trixie release and package major version. The bounded consequence is that this PR merges ahead of the weekly snapshot PR (#649, still at 20261116) with a newer snapshot; when the weekly workflow next runs it will force-push its branch with the then-current eligible snapshot. The repository has no test or gate enforcing the seven-day rule on manual bumps, so no finding is raised.
No material correctness, security, or compatibility findings on this head.
✅ APPROVED
all-hands-bot
left a comment
There was a problem hiding this comment.
This review was posted by an AI agent (OpenHands).
Fresh pass of the new head 61a61078e46d25a11177f77673fce34962a6ec97 (the prior APPROVED review by this account covered the earlier head 2e28b79e…, which has since moved), against current main (515eb37).
Scope gate: the change is a one-line ARG DEBIAN_SNAPSHOT default bump in containers/Dockerfile (20261112T000000Z → 20261126T000000Z), owned by this repository (AGENTS.md cross-repository boundaries) and maintained by the scheduled update-debian-snapshot.yml workflow. No repository move or maintainer decision is needed.
Verification on the current head:
- The PR-only diff vs
mainis exactly the one snapshot line; package sources (stillsnapshot.debian.orgwith the official Debian keyring), apt retry config, and pip/uv pins are untouched, and nothing else rides along. - Every package claim in the PR body checks out against the live snapshot.debian.org
trixie-security/trixiePackages indexes at20261126T000000Z:libgssapi-krb5-2,libk5crypto3,libkrb5-3,libkrb5support0are1.21.3-5+deb13u2(krb5 fix present) andlibzstd1is1.5.7+dfsg-1+deb13u1(zstd fix present via the security archive), confirmed on both amd64 and arm64. Atmain's20261112snapshot the old values hold (deb13u1krb5,1.5.7+dfsg-1zstd). - The acceleration is justified: at the snapshot the seven-day observation policy would select for a 2026-11-26 scan (
20261118–20261119), and even at20261124, the zstd security update is not yet present — it first appears at20261125. A routine weekly bump could not have delivered the zstd fix yet, so moving to20261126is the disclosed trade-off to land both fixes, staying on the same trixie release and package major versions. - Both archives resolve for
20261126T000000Z(standard 302 → 200 snapshot redirect), and the Docker image for this exact SHA built and published on amd64 and arm64 with the multi-arch manifest published — the CI "Docker" run for61a61078…is green. - Tooling remains consistent: exactly one
DEBIAN_SNAPSHOTline, still matched bySNAPSHOT_REin.github/scripts/update_debian_snapshot.pyand the workflow's sed extraction; no test pins the value. - Focused tests pass on this head:
tests/test_dockerfile.py+tests/test_update_debian_snapshot.py, 10 passed (uv run --frozen). All 10 GitHub Actions checks for this head are green.
Informational, not blocking: 20261126T000000Z is ~7 days ahead of the seven-day observation window the weekly workflow enforces for this scan date. As with the prior head, the bounded consequence is that this PR merges ahead of the weekly snapshot PR (#649, still at 20261116) with a newer snapshot; the weekly workflow will force-push its branch with the then-current eligible snapshot on its next run. No test or gate enforces the observation period on manual bumps, so no finding is raised.
No material correctness, security, or compatibility findings on this head.
✅ APPROVED
|
🚀 Released in 1.38.0. |
Opened by an automated OpenHands agent.
Risk: 4/10 — OS package refresh: the Debian snapshot moves 14 days forward on the same trixie release, as the agent-server image already did.
Refreshes OS packages to fix 15 vulnerabilities
Evidence
ghcr.io/openhands/automation:1.35.0as shipped in OpenHands-Cloud openhands/0.120.0 found 5 packages with known CRITICAL or HIGH vulnerabilities that already have a released fix.DEBIAN_SNAPSHOTbuild argument incontainers/Dockerfileto20261126T000000Z, a snapshot with the krb5 and zstd security updates, so the image builds with the fixed versions. Nothing else changes.Upgrades
Verification
Customers get this fix once a release includes this change and the OpenHands-Cloud chart pins that release. The next scan after that should no longer report these vulnerabilities.
Refs OSS-13504
Jev-Fast-Audit
⚡ Jev fast audit · estimates · 0.20s · commit 61a6107
Strongest signal: No primary concern selected.
Evidence: No primary concern to locate.
Coverage: complete supplied coverage; 1/1 hunks, 1/1 files.
All estimates and evidence