[SECURITY] ghcr.io/actions/actions-runner:2.338.2 was republished with a new digest: please make version tags immutable
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 18/100
Hướng nghiên cứu
Start with the two publishing workflows the issue names, release.yml (run 40339492476) and docker-publish.yml (run 43082958818), and compare how each one tags and pushes the ghcr.io/actions/actions-runner image. The reported digests are in the issue table. Done means a decided tag policy that keeps released version tags from moving, plus a note in the release docs. Changing the workflows needs maintainer sign-off on the policy first.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Describe the bug
The image tag ghcr.io/actions/actions-runner:2.338.2 changed its digest after the release. A released version tag now points to a different image, without a new tag or an announcement.
| Index digest | Built from | Base image (dotnet/runtime-deps:8.0-noble) |
|
|---|---|---|---|
| 2026-10-26 (release) | sha256:759a1d94a15b05941aba5196974ff43fe15b4cbba29b694b35cbc32a1166b232 |
release.yml, run 40339492476 |
sha256:92c9ed3c3f2911031fd5b4f4093ac0cab69c99d9ee1adc66b82a2c4d52378db8 |
| 2026-11-11 (now) | sha256:6d0b2d80d80f143f77dcb676e50920100bbb547e39e883454d57f45ab8c31300 |
docker-publish.yml (workflow_dispatch), run 43082958818 |
sha256:7745316518f2abec3e133889558c2e8d4b616d3ca138db4c5b8c0914a0af3919 |
We understand that this is a rebuild of the same runner version on a newer base image. We checked the following:
- Both digests have a valid build provenance attestation (
gh attestation verify --owner actions) fromactions/runner. - The rebuild checked out
releases/m338atd1eb12d4, the commit of tagv2.338.2. - The release asset
actions-runner-linux-x64-2.338.2.tar.gzwas not changed after 2026-10-26. - The new base digest is the current
mcr.microsoft.com/dotnet/runtime-deps:8.0-noble.
Even if this is not a compromised image, the tag policy is a serious supply-chain security concern:
- For a consumer, "same version tag, new digest" looks the same as a registry or account compromise. To tell them apart, we had to read workflow runs, logs, attestations and release assets.
- A version tag that changes is not reproducible.
2.338.2pulled in October and2.338.2pulled now are different images. - There was no announcement: no release note, no changelog entry, no new tag. The only trace is a manual workflow run.
- Consumers who pin by digest (as recommended for supply-chain security) see their checks fail, and they cannot find out from the project why.
To Reproduce
- Resolve the tag:
crane digest ghcr.io/actions/actions-runner:2.338.2(or a registry HEAD request for the manifest). - Compare with the digest that
release.ymlrun 40339492476 pushed on 2026-10-26. - See that the digests are different, and that
docker-publish.ymlrun 43082958818 pushed the new one on 2026-11-11.
Expected behavior
A released version tag points to one image for its whole life. Rebuilds on a new base image use a new tag. For example:
- keep
2.338.2immutable, and publish rebuilds as2.338.2-<date>or2.338.2-r2, or - if the plain version tag must move, also publish an immutable tag per build, and document that the plain tag can move.
In both cases, please announce rebuilds (for example in the release notes or a pinned discussion), with the old digest, the new digest and the reason (for example, "base image refresh for CVE fixes").
It would also help to document the tag policy of ghcr.io/actions/actions-runner (related: #4456).
Runner Version and Platform
Runner 2.338.2, image ghcr.io/actions/actions-runner, linux/amd64. We use it as the base of our self-hosted runner image and pin it by digest.
What's not working?
Our image build checks that the pinned base digest is still the digest of the version tag. Since 2026-11-11 this check fails:
FROM version : 2.338.2
Pinned digest : sha256:759a1d94a15b05941aba5196974ff43fe15b4cbba29b694b35cbc32a1166b232
Upstream digest : sha256:6d0b2d80d80f143f77dcb676e50920100bbb547e39e883454d57f45ab8c31300
Job Log Output
Not applicable.
Runner and Worker's Diagnostic Logs
Not applicable.
- Ngôn ngữ chính
- C#
- Star
- 6.4k
- Fork
- 1.5k
- Merge trung bình
- 1 ngày 7 giờ
- Pull request đã merge (30 ngày)
- 36
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của actions/runner
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
actions/runner#4820 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Workflow schema omits documented code-quality and copilot-requests permissionsCó thể đã có người làm @localzet đã nhận 12 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
actions/runner#4692 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Runner crashes at InitializeSecretMasker on machines with Thai (th-TH) culture — culture-sensitive LastIndexOf in PowerShellPreAmpersandEscapeCó thể đã có người làm @CloudNinjaDev đã nhận 48 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Broker retry logs an ERR stack trace and a phantom backoff on every job completion (listener's own cancellation treated as a request failure)Có thể đã có người làm @nitrobass24 đã nhận 87 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của actions/runner
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
dotnet/EntityFramework.Docs#5536 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug module
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
Tichau/FileConverter#829 ·
Maintainer thường phản hồi trong vòng 9 ngày
-
needs triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 71/100
Maintainer thường phản hồi trong vòng 1 ngày