NVD - CVE-2025-61729 (original) (raw)
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.
Metrics
NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:
NIST: NVD
NVD assessment not yet provided.
CVSS 3.x Severity and Vector Strings:
NIST: NVD
Base Score: N/A
NVD assessment not yet provided.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0 Severity and Vector Strings:
NIST: NVD
Base Score: N/A
NVD assessment not yet provided.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://go.dev/cl/725920 | Go Project | Patch |
| https://go.dev/issue/76445 | Go Project | Issue Tracking Patch |
| https://groups.google.com/g/golang-announce/c/8FJoBkPddm4 | Go Project | Mailing List Release Notes |
| https://pkg.go.dev/vuln/GO-2025-4155 | Go Project | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-295 | Improper Certificate Validation |
Known Affected Software Configurations Switch to CPE 2.2
Change History
3 change records found show changes
Initial Analysis by NIST 12/19/2025 1:25:28 PM
| Action | Type | Old Value | New Value |
|---|---|---|---|
| Added | CWE | CWE-295 | |
| Added | CPE Configuration | OR *cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* versions up to (excluding) 1.24.11 *cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* versions from (including) 1.25.0 up to (excluding) 1.25.5 | |
| Added | Reference Type | Go Project: https://go.dev/cl/725920 Types: Patch | |
| Added | Reference Type | Go Project: https://go.dev/issue/76445 Types: Issue Tracking, Patch | |
| Added | Reference Type | Go Project: https://groups.google.com/g/golang-announce/c/8FJoBkPddm4 Types: Mailing List, Release Notes | |
| Added | Reference Type | Go Project: https://pkg.go.dev/vuln/GO-2025-4155 Types: Vendor Advisory |
CVE Modified by CISA-ADP 12/02/2025 5:16:08 PM
| Action | Type | Old Value | New Value |
|---|---|---|---|
| Added | CVSS V3.1 | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
New CVE Received from Go Project 12/02/2025 2:15:51 PM
| Action | Type | Old Value | New Value |
|---|---|---|---|
| Added | 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. | |
| Added | Reference | https://go.dev/cl/725920 | |
| Added | Reference | https://go.dev/issue/76445 | |
| Added | Reference | https://groups.google.com/g/golang-announce/c/8FJoBkPddm4 | |
| Added | Reference | https://pkg.go.dev/vuln/GO-2025-4155 |