ADVISORIES

Alpine Security Database

ALPINE-CVE-2025-58186

Details

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.

Affected packages

EcosystemPackageAffected versions
Alpine:v3.22go
All versions before 1.24.8-r0 (fixed in 1.24.8-r0)
Alpine:v3.23go
All versions before 1.25.2-r0 (fixed in 1.25.2-r0)
Alpine:v3.24go
All versions before 1.25.2-r0 (fixed in 1.25.2-r0)

References