openEuler Security Advisory
OESA-2025-2867
golang security update
Details
.
Security Fix(es):
crypto/x509: Exclude subdomain constraints do not restrict wildcard SANs Exclude subdomain constraints in certificate chains do not restrict the use of wildcard SANs in leaf certificates. For example, excluding the constraint on the subdomain test.example.com does not prevent the leaf certificate from claiming SAN*. example.com.(CVE-2025-61727)
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.(CVE-2025-61729)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| openEuler:24.03-LTS-SP1 | golang | All versions before 1.21.4-42.oe2403sp1 (fixed in 1.21.4-42.oe2403sp1) |