CVE-2025-58186 Lack of limit when parsing cookies can cause memory exhaustion in net/http
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
Go standard library
net/http
영향 받는 버전
- 1.24.8 미만
- 1.25.0 이상 1.25.2 미만
해결 버전
- 1.24.8 이상
- 1.25.2 이상