Repository navigation
fix(security): drop the Go ignores that the pinned gh build does not need - #2402
Merged
Merged
Conversation
Add tests/test_service_image_gh.py. The first test requires one gh release for both tarballs of the Dockerfile, at or above v2.102.1, the first release built with Go 1.27.2 or later. The second test fails while .trivyignore ignores CVE-2026-78667, CVE-2026-97031 or CVE-2026-78669, which the pinned gh build does not have. Plan the change in openspec/changes/1492-drop-gh-go-trivy-ignores/.
…need Delete CVE-2026-78667, CVE-2026-97031 and CVE-2026-78669 and their reason from .trivyignore. The Dockerfile pins gh v2.102.1, which cli/cli builds with Go 1.27.3 and golang.org/x/net v0.60.0, and Trivy finds none of the three in that build. The ignores expired on 2026-10-23, and their reason still named gh v2.102.0 and Go 1.27.1.
Owner
Author
|
Test results at 11f081a (base
The test Other checks:
Trivy 0.75.0, vulnerability database of 2026-10-28,
The release run 40626081164 of v0.8.2 (2026-10-28) passed "Scan Service Image for Vulnerabilities" after the ignores expired. This pull request changes |
dan-petty
marked this pull request as ready for review
October 28, 2026 14:11
dan-petty
pushed a commit
that referenced
this pull request
Oct 28, 2026
🤖 I have created a release *beep* *boop* --- ## [0.8.3](v0.8.2...v0.8.3) (2026-10-28) ### Bug Fixes * **ai:** the gateway sweep's URL error names no credential ([#2400](#2400)) ([2e6f1fd](2e6f1fd)), closes [#909](#909) * **config:** exit 1 when audit-keys finds a plaintext secret ([#2401](#2401)) ([ad0114f](ad0114f)), closes [#1469](#1469) * **security:** drop the Go ignores that the pinned gh build does not need ([#2402](#2402)) ([6052083](6052083)), closes [#1492](#1492) * **security:** refuse every loader and shell key that loads code into a child ([#2405](#2405)) ([86d5bce](86d5bce)), closes [#2205](#2205) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
2 tasks done
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.
The Service image pins gh v2.102.1. cli/cli builds that release with Go 1.27.3 and
golang.org/x/netv0.60.0, so the build does not have CVE-2026-78667 (net/http), CVE-2026-97031 (crypto/tls) or CVE-2026-78669 (HTTP/2). The bump to v2.102.1 (#1800) left the three ignores in.trivyignore. Their reason still named gh v2.102.0 and Go 1.27.1, and they expired on 2026-10-23..trivyignore.golang.org/x/net, and no cli/cli advisory names v2.102.1.tests/test_service_image_gh.py. One test requires one gh release for both tarballs of the Dockerfile, at or above v2.102.1, the first release built with Go 1.27.2 or later. The other test fails when.trivyignoreignores one of the three findings again, because Trivy does not report an ignore that matches no finding.Closes #1492
Change:
openspec/changes/1492-drop-gh-go-trivy-ignores/