-
Notifications
You must be signed in to change notification settings - Fork 25
Update go-openapi packages #495
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
red-hat-konflux
wants to merge
1
commit into
main
Choose a base branch
from
konflux/mintmaker/main/go-openapi
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+49
−49
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔒 Security & Privacy | 🛡️ Analyzed with Security Review | 🟠 Major | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
Repository: openshift/lightspeed-agentic-operator
Length of output: 964
🌐 Web query:
site:go.dev/doc/devel/release Go 1.26.8 security release September 2026💡 Result:
As of September 8, 2026, there is no Go 1.26.8 release [1]. The official release history for the Go 1.26 series only lists releases up to go1.26.4, which was released on June 2, 2026 [1].
Citations:
🌐 Web query:
site:github.com/actions/setup-go go-version-file go.mod patch version latest patch💡 Result:
In the context of the GitHub Actions
actions/setup-goworkflow, ago.modfile typically contains agodirective (e.g.,go 1.22.0) that specifies a minimum Go version, which often includes a patch version [1][2]. The behavior ofactions/setup-gowhen usinggo-version-file: go.modis as follows: 1. Exact Pinning: By default, the action treats the version specified in thego.modfile as an exact pin [3][4]. If yourgo.modfile specifiesgo 1.22.0, the action will install exactly version 1.22.0, even if a newer patch (like 1.22.1) is available [3][1][5]. 2. Latest Patch Limitations: The standardcheck-latestflag inactions/setup-godoes not automatically upgrade you to the latest patch version if a specific patch is explicitly defined in yourgo.modfile [4][6]. Because modern Go tooling often mandates or automatically updates thego.modfile to include a specific patch version (e.g.,go mod tidymay add the.0suffix), this effectively pins your CI environment to potentially outdated or vulnerable versions [6][2][7]. 3. Workarounds and Emerging Solutions: - Latest-Patch Feature: Ago-version-file-behaviorinput has been introduced (or is in development/testing via PRs like#785) to address this by allowing you to specifylatest-patch. When set, this widens the exact version fromgo.modinto a semantic version range (e.g.,~1.22.0), which instructs the action to resolve to the newest available patch release of that minor version [3]. - Manual Override: If the feature is unavailable or not desired, the common workaround is to use thego-versioninput instead ofgo-version-fileto explicitly request a major.minor version (e.g.,go-version: '1.22'), which is always resolved to the latest available patch [4][8]. Note thatgo-versiontakes precedence overgo-version-fileif both are provided [8][1].Citations:
🌐 Web query:
site:go.dev/doc/devel/release go1.26.1 go1.26.2 go1.26.3 go1.26.4 security fixes💡 Result:
As of September 8, 2026, the Go 1.26 series has received four minor security and bug fix releases [1]. The security-related changes for each are summarized below: Go 1.26.1 (released 2026-03-05): Included security fixes for the crypto/x509, html/template, net/url, and os packages [1]. Go 1.26.2 (released 2026-04-07): Included security fixes for the go command, the compiler, and the archive/tar, crypto/tls, crypto/x509, html/template, and os packages [1]. Go 1.26.3 (released 2026-05-07): Included security fixes for the go command, the pack tool, and the html/template, net, net/http, net/http/httputil, net/mail, and syscall packages [1]. Go 1.26.4 (released 2026-06-02): Included security fixes for the crypto/x509, mime, and net/textproto packages [1]. For complete details on these releases, including specific bug fixes and issue tracker references, you can consult the official Go release history page [1].
Citations:
Security Misconfiguration (CWE-937)
Reachability: Internal · Exploitability: Difficult
Select a patched Go toolchain for release builds.
.github/workflows/release-cli.ymlderives the Go version fromgo.mod, sogo 1.26.0selects Go 1.26.0 exactly. Go 1.26.1 through Go 1.26.4 include security fixes. Usego 1.26or configure the latest patched Go 1.26.x release explicitly.Proposed fix
📝 Committable suggestion
🤖 Prompt for AI Agents