Repository navigation
Labels
scope/securitySecurity linters (trivy, bandit, gitleaks, kubeconform) and Vaultsource/agentFiled by an agenttype/securityType security: a vulnerability or a leak
Description
Problem
Checked at release/v0.2.31 (e1dbc48).
- The Service image installs
ghv2.102.0 (Dockerfile:17-20), the newest GitHub CLI release (2026-09-30). It is built with Go 1.27.1 (toolchain go1.27.1in cli/cli's go.mod at v2.102.0). - Trivy fails the image on two HIGH Go standard-library CVEs in
/usr/local/bin/gh, both fixed in Go 1.27.2: CVE-2026-78667 (net/http, denial of service via a crafted HTTP message) and CVE-2026-97031 (crypto/tls, denial of service). This stoppedservice:v0.2.31from publishing on 2026-10-09 (Release Orchestration run 37937614303). - cli/cli moved its toolchain to Go 1.27.2 on trunk on 2026-10-09 ("Bump Go to 1.27.2"), so the next release, expected as v2.103.0, carries the fix. Until it ships, both CVEs are ignored in
.trivyignorewithexp:2026-10-23(owner decision, 2026-10-09; low exposure:ghis a client, and both are DoS-only).
Proposed remedy
- When a
ghrelease built with Go 1.27.2 or later ships, bump the Dockerfile'sghURL and--checksumto it, and delete the two.trivyignoreentries.
Acceptance criteria
- The Dockerfile pins a
ghrelease whose go.mod toolchain is Go 1.27.2 or later, with its SHA-256. -
.trivyignoreno longer lists CVE-2026-78667 or CVE-2026-97031, and the Service image scan passes. - Done before 2026-10-23, when the ignore entries expire and the scan fails again.
Proposed design
Problem statement
The Service image installs gh v2.102.0, built with Go 1.27.1. Two HIGH CVEs (CVE-2026-78667 and CVE-2026-97031) exist in the bundled Go standard library. Both are suppressed in .trivyignore with an expiry of 2026-10-23. When the expiry passes, the Trivy scan fails and blocks publishing. The fix is to bump gh to a release built with Go 1.27.2 or later and remove the two ignore entries.
Acceptance criteria
- Criterion 1: The Dockerfile pins a gh release built with Go 1.27.2 or later, with its SHA-256 checksum.
Verification: Read the Dockerfile and confirm the gh download URL points to a release whose go.mod declares toolchain go1.27.2 or later, and that the --checksum flag matches the published SHA-256. - Criterion 2: .trivyignore no longer lists CVE-2026-78667 or CVE-2026-97031.
Verification: Run grep for both CVE IDs in .trivyignore and confirm neither appears. - Criterion 3: The Service image Trivy scan passes with no HIGH or CRITICAL findings.
Verification: Build the Service image and run the Trivy scan. Confirm the scan exits with status 0 and reports no HIGH or CRITICAL vulnerabilities. - Criterion 4: The change is delivered before 2026-10-23.
Verification: Confirm the pull request merge date is before 2026-10-23.
Key questions
- What is the owner decision on suppressing the two CVEs in .trivyignore?: Both CVE-2026-78667 and CVE-2026-97031 are suppressed in .trivyignore with exp:2026-10-23. The owner judged the exposure low because gh is a client and both CVEs are DoS-only. (proposed)
Open questions
- Which gh release carries the Go 1.27.2 fix? (missing verified source)
Fit
Fits in one pull request.
Suspected block
Waiting on the next gh release (expected v2.103.0) built with Go 1.27.2 or later.
Dependencies
None.
Metadata
Metadata
Assignees
Labels
scope/securitySecurity linters (trivy, bandit, gitleaks, kubeconform) and Vaultsource/agentFiled by an agenttype/securityType security: a vulnerability or a leak
Type
Projects
- StatusShow more project fieldsNew
- StatusShow more project fieldsNew
Activity
dan-petty-bot commentedon Oct 9, 2026
Intake placed this item to the backlog: at intake only a critical fix goes into a release; a release start pulls Ready items in, P0 features first.
Two HIGH CVEs with a 2026-10-23 expiry deadline, but exposure is low (client-side, DoS-only) and the fix is blocked on an external release.The failed run 37937614303 does not set P0: the author has no write access, and no caller attached it as evidence. A person can set P0 on the board.Removes two HIGH CVEs from the production image and unblocks the release pipeline, but the affected tool is a client with DoS-only impact.Bump one URL and checksum in the Dockerfile and delete two lines from .trivyignore once the upstream release ships.chore(release): ignore gh v2.102.0's two Go 1.27.1 stdlib CVEs until …
feat(release): v0.2.31 (#1490)
chore(security): ignore CVE-2026-78669 in gh v2.102.0 until 2026-10-2…
feat(release): v0.2.33 (#1537)
dan-petty commentedon Oct 26, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones on the board.
The issue involves high severity CVEs that block publishing of the service image.Fixing these CVEs improves the security posture of the project's shipped artifacts.The fix only requires updating the gh version and removing ignore entries, which is a low-effort change.Both items fix issues with the service image. The candidate fixes security CVEs in gh, while #1638 ensures kubectl is available in the image.dan-petty commentedon Oct 27, 2026
Refine cannot set this item to Ready at cc34caa until a person answers the questions below. Reply in a comment or edit the body, and the next refine round looks at the item again.
chore(main): release 0.8.3 (#2403)
fix(security): refuse GCONV_PATH, SHELLOPTS, BASHOPTS and PS4 from a …