CVE-2025-58186

MEDIUM5.3EPSS 0.04%

Lack of limit when parsing cookies can cause memory exhaustion in net/http

發布日:2025/10/29修改日:2026/5/15
也稱為:BIT-golang-2025-58186CGA-px9r-m4wp-7xghGO-2025-4012

描述

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.

受影響套件(6)

CVSS 分數

來源版本嚴重程度向量
osvCVSS 3.1MEDIUM5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

參考連結(7)