Tóm tắt nhanh
- CVE-2026-27145 là lỗ hổng mức TRUNG BÌNH (CVSS 6.5) ảnh hưởng stdlib.
- Xác suất bị khai thác trong 30 ngày tới (EPSS): 0.59%, cao hơn 48.3% các lỗ hổng khác.
- Cách xử lý: cập nhật lên 1.26.4, 1.25.11 hoặc mới hơn.
| Gói / sản phẩm | Phiên bản bị ảnh hưởng | Phiên bản đã vá |
|---|
| stdlib Go | ≥ 1.26.0-0, < 1.26.4< 1.25.11
| 1.26.41.25.11
|
Mô tả
(*x509.Certificate).VerifyHostname previously called matchHostnames in a loop over all DNS Subject Alternative Name (SAN) entries. This caused strings.Split(host, ".") to execute repeatedly on the same input hostname.
With a large DNS SAN list, verification costs scaled quadratically based on the number of SAN entries multiplied by the hostname's label count. Because x509.Verify validates hostnames before building the certificate chain, this overhead occurred even for untrusted certificates.
Mô tả của NVD
(*x509.Certificate).VerifyHostname previously called matchHostnames in a loop over all DNS Subject Alternative Name (SAN) entries. This caused strings.Split(host, ".") to execute repeatedly on the same input hostname. With a large DNS SAN list, verification costs scaled quadratically based on the number of SAN entries multiplied by the hostname's label count. Because x509.Verify validates hostnames before building the certificate chain, this overhead occurred even for untrusted certificates.
Bạn đang dùng một trong các sản phẩm này? Quét site để biết có đang lộ phiên bản có lỗ hổng không.
Quét site miễn phí