kcve.ai취약점 정보 · 내 자산 확인

CVE-2026-27145 Inefficient candidate hostname parsing in crypto/x509

설명

(*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.

영향 받는 제품 제품 1개

  • Go standard library

    crypto/x509

    해결 버전 있음

    영향 받는 버전

    • 1.25.11 미만
    • 1.26.0-0 이상 1.26.4 미만

    해결 버전

    • 1.25.11 이상
    • 1.26.4 이상

참고 자료 4건

‹ 목록

점검 지원 범위 문의

도입 문의