HomeDefault status
unaffected
Any version before 1.24.11
affected
1.25.0 (semver) before 1.25.5
affected
Description
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.
Problem types
CWE-400: Uncontrolled Resource Consumption
Product status
Any version before 1.24.11
1.25.0 (semver) before 1.25.5
Credits
Philippe Antoine (Catena cyber)