ADVISORIES

Alpine Security Database

ALPINE-CVE-2025-61729

Details

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.

Affected packages

EcosystemPackageAffected versions
Alpine:v3.23docker
All versions before 29.1.2-r0 (fixed in 29.1.2-r0)
Alpine:v3.24docker
All versions before 29.1.2-r0 (fixed in 29.1.2-r0)
Alpine:v3.22go
All versions before 1.24.11-r0 (fixed in 1.24.11-r0)
Alpine:v3.23go
From 1.25.0 before 1.25.5-r0 (fixed in 1.25.5-r0)
Alpine:v3.24go
From 1.25.0 before 1.25.5-r0 (fixed in 1.25.5-r0)
Alpine:v3.23rclone
All versions before 1.72.1-r0 (fixed in 1.72.1-r0)
Alpine:v3.24rclone
All versions before 1.72.1-r0 (fixed in 1.72.1-r0)

References