7.5Yüksek

CVE-2025-61729Excessive resource consumption when printing error string for host certificate validation in crypto/x509

Go standard library crypto/x509 Yayım: (11 ay önce)

Açıklama

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.

Zayıflık türü (CWE): CWE-400CWE-295

Veri: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Bilgiler kaynaktaki haliyle, İngilizce yayımlanır.

Etkilenen ürünler ve sürümler

ÜreticiÜrünSürümler
Go standard library crypto/x509 < 1.24.11, 1.25.0 – < 1.25.5
golang go < 1.24.11

Kaynaklar ve yamalar

CPE eşleşmeleri (NVD) (2)

  • cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* < 1.24.11
  • cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* ≥ 1.25.0 < 1.25.5