BIT-golang-2025-61729

See a problem?
Import Source
https://github.com/bitnami/vulndb/tree/main/data/golang/BIT-golang-2025-61729.json
JSON Data
https://api.test.osv.dev/v1/vulns/BIT-golang-2025-61729
Aliases
Published
2025-12-04T11:41:52.637Z
Modified
2025-12-04T12:27:38.299579Z
Summary
Excessive resource consumption when printing error string for host certificate validation in crypto/x509
Details

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.

Database specific
{
    "severity": "High",
    "cpes": [
        "cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*"
    ]
}
References

Affected packages

Bitnami / golang

Package

Name
golang
Purl
pkg:bitnami/golang

Severity

  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.24.11
Introduced
1.25.0
Fixed
1.25.5