Affected versions
Ubuntu22.04:LTS/golang-1.24
- Affected versions
- Unknown
- Fixed version
- Not reported
Ubuntu22.04:LTS/golang-1.25
- Affected versions
- Unknown
- Fixed version
- Not reported
Ubuntu24.04:LTS/golang-1.24
- Affected versions
- Unknown
- Fixed version
- Not reported
Ubuntu25.10/golang-1.24
- Affected versions
- * || =1.24.2-1 || =1.24.2-2 || =1.24.4-1 || =1.24.4-1ubuntu1
- Fixed version
- Not reported
Ubuntu25.10/golang-1.25
- Affected versions
- Unknown
- Fixed version
- Not reported
Ubuntu26.04:LTS/golang-1.24
- Affected versions
- * || =1.24.4-1ubuntu1 || =1.24.9-1 || =1.24.13-2
- Fixed version
- Not reported
Ubuntu26.04:LTS/golang-1.25
- Affected versions
- Unknown
- Fixed version
- Not reported
Description
Within HostnameError.Error(), when constructing an error string, there is no limit to the number of hosts that will be printed out. Furthermore, the error string is constructed by repeated string concatenation, leading to quadratic runtime. Therefore, a certificate provided by a malicious actor can result in excessive resource consumption.
Links
- https://github.com/golang/go/issues/76445
- https://go-review.googlesource.com/c/go/+/725920
- https://go.dev/cl/725920
- https://go.dev/issue/76445
- https://groups.google.com/g/golang-announce/c/8FJoBkPddm4
- https://pkg.go.dev/vuln/GO-2025-4155
- https://ubuntu.com/security/CVE-2025-61729
- https://www.cve.org/CVERecord?id=CVE-2025-61729

