CVE-2025-61729
https://nvd.nist.gov/vuln/detail/CVE-2025-61729
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.
Location: usr/local/bin/sops Component Name: stdlib Component Version: v1.25.5
crypto/x509: golang: Denial of Service due to excessive resource consumption via crafted certificate
Target: usr/local/bin/sops
Type: gobinary
Fixed version: 1.24.11, 1.25.5
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.