-
Notifications
You must be signed in to change notification settings - Fork 501
chore(deps): bump github.com/oapi-codegen/oapi-codegen/v2 from 2.4.1 to 2.7.1 in /apps/cli-go #5896
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -189,7 +189,7 @@ require ( | |
| github.com/fxamacker/cbor/v2 v2.9.0 // indirect | ||
| github.com/fzipp/gocyclo v0.6.0 // indirect | ||
| github.com/gabriel-vasile/mimetype v1.4.13 // indirect | ||
| github.com/getkin/kin-openapi v0.131.0 // indirect | ||
| github.com/getkin/kin-openapi v0.135.0 // indirect | ||
| github.com/ghostiam/protogetter v0.3.20 // indirect | ||
| github.com/go-critic/go-critic v0.14.3 // indirect | ||
| github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect | ||
|
|
@@ -301,7 +301,7 @@ require ( | |
| github.com/lib/pq v1.12.3 // indirect | ||
| github.com/lucasb-eyer/go-colorful v1.4.0 // indirect | ||
| github.com/macabu/inamedparam v0.2.0 // indirect | ||
| github.com/mailru/easyjson v0.9.0 // indirect | ||
| github.com/mailru/easyjson v0.9.1 // indirect | ||
| github.com/manuelarte/embeddedstructfieldcheck v0.4.0 // indirect | ||
| github.com/manuelarte/funcorder v0.6.0 // indirect | ||
| github.com/maratori/testableexamples v1.0.1 // indirect | ||
|
|
@@ -350,10 +350,10 @@ require ( | |
| github.com/nishanths/exhaustive v0.12.0 // indirect | ||
| github.com/nishanths/predeclared v0.2.2 // indirect | ||
| github.com/nunnatsa/ginkgolinter v0.23.0 // indirect | ||
| github.com/oapi-codegen/oapi-codegen/v2 v2.4.1 // indirect | ||
| github.com/oapi-codegen/oapi-codegen/v2 v2.7.1 // indirect | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
The Useful? React with 👍 / 👎. |
||
| github.com/oapi-codegen/runtime v1.4.2 // indirect | ||
| github.com/oasdiff/yaml v0.0.0-20250309154309-f31be36b4037 // indirect | ||
| github.com/oasdiff/yaml3 v0.0.0-20250309153720-d2182401db90 // indirect | ||
| github.com/oasdiff/yaml v0.0.9 // indirect | ||
| github.com/oasdiff/yaml3 v0.0.9 // indirect | ||
| github.com/olekukonko/cat v0.0.0-20250911104152-50322a0618f6 // indirect | ||
| github.com/olekukonko/errors v1.2.0 // indirect | ||
| github.com/olekukonko/ll v0.1.6 // indirect | ||
|
|
@@ -398,7 +398,8 @@ require ( | |
| github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 // indirect | ||
| github.com/sonatard/noctx v0.5.1 // indirect | ||
| github.com/sourcegraph/go-diff v0.8.0 // indirect | ||
| github.com/speakeasy-api/openapi-overlay v0.9.0 // indirect | ||
| github.com/speakeasy-api/jsonpath v0.6.3 // indirect | ||
| github.com/speakeasy-api/openapi v1.19.2 // indirect | ||
| github.com/spf13/cast v1.10.0 // indirect | ||
| github.com/ssgreg/nlreturn/v2 v2.2.1 // indirect | ||
| github.com/stbenjam/no-sprintf-host-port v0.3.1 // indirect | ||
|
|
@@ -421,6 +422,7 @@ require ( | |
| github.com/uudashr/gocognit v1.2.1 // indirect | ||
| github.com/uudashr/iface v1.4.2 // indirect | ||
| github.com/vmware-labs/yaml-jsonpath v0.3.2 // indirect | ||
| github.com/woodsbury/decimal128 v1.4.0 // indirect | ||
| github.com/x448/float16 v0.8.4 // indirect | ||
| github.com/xanzy/ssh-agent v0.3.3 // indirect | ||
| github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect | ||
|
|
@@ -472,7 +474,6 @@ require ( | |
| gopkg.in/inf.v0 v0.9.1 // indirect | ||
| gopkg.in/ini.v1 v1.67.0 // indirect | ||
| gopkg.in/warnings.v0 v0.1.2 // indirect | ||
| gopkg.in/yaml.v2 v2.4.0 // indirect | ||
| gotest.tools/gotestsum v1.12.2 // indirect | ||
| honnef.co/go/tools v0.7.0 // indirect | ||
| k8s.io/api v0.34.1 // indirect | ||
|
|
||
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.
This pins the
go tool oapi-codegengenerator to v2.7.1, which upstream advisories GHSA-jwgf-6xff-4hvp and GHSA-xrqw-w576-xgj2 list as vulnerable to Go code injection when generating from an attacker-controlled or attacker-influenced OpenAPI spec. Sincemain.goruns this tool against a remote spec URL viago generate, a compromised or malicious spec could produce generated code that executes at package init or route registration; please bump to a release with the v2.7.2 fixes or newer instead of stopping at v2.7.1.Useful? React with 👍 / 👎.