You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SOPS is released using Go version 1.23.0, which has vulnerabilities #1835
changed the title [-]SOPS is being built and released using Go version 1.23.0, which has vulnerabilities[/-][+]SOPS is released using Go version 1.23.0, which has vulnerabilities[/+]on Apr 12, 2025
There was an explicit value in there, which was replaced in e0f33e6 to avoid it being forgotten to be updated (see #1615 which contains that commit).
Originally the value in go.mod was 1.22, and it was changed to 1.23.0 in cbec030. The value 1.22 caused 1.22.10 to be used for 3.9.4 (https://github.com/getsops/sops/actions/runs/12967350893/job/36170087447), while 1.23.0 forces 1.23.0 instead of the latest 1.23.x version in use. @hiddeco was there a specific reason you set the value to 1.23.0 instead of 1.23 in #1819? I think setting it to 1.23 would be better, since go.mod is referenced from the release workflow.
I forgot our release workflow actively makes use of the version defined in our Go Modules file. There are some nuances to fixing this, however.
The go line declares the minimum version of Go that the module requires (ref). Since Go 1.21, if you do not define an exact version here you pull in a toolchain directive that I have yet to learn to love (and which does not work in combination with the Go action).
I think because of this, the quick fix is to step away from deriving the version information from the Go Modules file and instead explicitly define it in the release workflow.
Activity
[-]SOPS is being built and released using Go version 1.23.0, which has vulnerabilities[/-][+]SOPS is released using Go version 1.23.0, which has vulnerabilities[/+]felixfontein commentedon Apr 12, 2025
There was an explicit value in there, which was replaced in e0f33e6 to avoid it being forgotten to be updated (see #1615 which contains that commit).
Originally the value in
go.modwas 1.22, and it was changed to 1.23.0 in cbec030. The value 1.22 caused 1.22.10 to be used for 3.9.4 (https://github.com/getsops/sops/actions/runs/12967350893/job/36170087447), while 1.23.0 forces 1.23.0 instead of the latest 1.23.x version in use. @hiddeco was there a specific reason you set the value to 1.23.0 instead of 1.23 in #1819? I think setting it to 1.23 would be better, sincego.modis referenced from the release workflow.jorn-ola-birkeland commentedon Apr 13, 2025
Yes, 1.23, implicitly 1.23.8 currently, will resolve all the mentioned vulnerabilities
hiddeco commentedon Apr 13, 2025
I forgot our release workflow actively makes use of the version defined in our Go Modules file. There are some nuances to fixing this, however.
The
goline declares the minimum version of Go that the module requires (ref). Since Go1.21, if you do not define an exact version here you pull in atoolchaindirective that I have yet to learn to love (and which does not work in combination with the Go action).I think because of this, the quick fix is to step away from deriving the version information from the Go Modules file and instead explicitly define it in the release workflow.