CVE-2025-61726
The net/url package does not set a limit on the number of query parameters in a query. While the maximum size of query parameters in URLs is generally limited by the maximum request header size, the net/http.Request.ParseForm method can parse large URL-encoded forms. Parsing a large form containing many unique query parameters can cause excessive memory consumption.
Location: usr/local/bin/sops Component Name: stdlib Component Version: v1.25.5
golang: net/url: Memory exhaustion in query parameter parsing in net/url
Target: usr/local/bin/sops
Type: gobinary
Fixed version: 1.24.12, 1.25.6
The net/url package does not set a limit on the number of query parameters in a query. While the maximum size of query parameters in URLs is generally limited by the maximum request header size, the net/http.Request.ParseForm method can parse large URL-encoded forms. Parsing a large form containing many unique query parameters can cause excessive memory consumption.
Vulnerability Namespace: nvd:cpe
Vulnerability Description: The net/url package does not set a limit on the number of query parameters in a query. While the maximum size of query parameters in URLs is generally limited by the maximum request header size, the net/http.Request.ParseForm method can parse large URL-encoded forms. Parsing a large form containing many unique query parameters can cause excessive memory consumption.
Matcher: go-module-matcher
Package URL: pkg:golang/[email protected]
How does this affect sops? Plesae provide more information.
We use SOPs in our images. However, according to our security policy, we are no longer permitted to use SOPs in this way.
To resolve this issue, only a GO version update is necessary.
Since you didn't supply any evidence that this actually affects SOPS (I'm pretty sure it does not) I'm going to close this and the others.
Hi, My team also encounter this CVE finding (CVE-2025-68121) as it's been reported by AWS Inspector. I would say that this does not affect SOPS as it's functional scope - encrypting and decrypting secrets. It would be nice to keep an eye and solve somehow those findings even if they are not functionally mandatory. Thank you.
@felixfontein It's so easy to fix these findings because it is only an update of the go version.
In case you didn't notice, there was a new SOPS release last week.