5.3Orta

CVE-2025-58186Lack of limit when parsing cookies can cause memory exhaustion in net/http

Go standard library net/http Yayım: (1 yıl önce)

Açıklama

Despite HTTP headers having a default limit of 1MB, the number of cookies that can be parsed does not have a limit. By sending a lot of very small cookies such as "a=;", an attacker can make an HTTP server allocate a large amount of structs, causing large memory consumption.

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

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 net/http < 1.24.8, 1.25.0 – < 1.25.2

Kaynaklar ve yamalar