(*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 hostnames label count. Because x509.Verify validates hostnames before building the certificate chain, this overhead occurred even for untrusted certificates.
The product does not properly check inputs that are used for loop conditions, potentially leading to a denial of service or other consequences because of excessive looping.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | RedHat | opentelemetry-collector-0:0.152.1-1.el10_2 | * |
| Red Hat Enterprise Linux 10 | RedHat | golang-github-openprinting-ipp-usb-0:0.9.27-7.el10_2.2 | * |
| Red Hat Enterprise Linux 10 | RedHat | rhc-1:0.3.8-6.el10_2 | * |
| Red Hat Enterprise Linux 10 | RedHat | yggdrasil-0:0.4.9.2-1.el10_2 | * |
| Red Hat Enterprise Linux 8 | RedHat | go-toolset:rhel8-8100020260710105056.a3795dee | * |
| Red Hat Enterprise Linux 9 | RedHat | golang-0:1.26.4-1.el9_8 | * |
| Red Hat Enterprise Linux 9 | RedHat | opentelemetry-collector-0:0.152.1-1.el9_8 | * |
| Red Hat Enterprise Linux 9 | RedHat | skopeo-2:1.22.2-7.el9_8 | * |
| Red Hat Enterprise Linux 9 | RedHat | rhc-1:0.2.7-8.el9_8 | * |
| Red Hat Developer Hub 1.9 | RedHat | rhdh/rhdh-rhel9-operator:1782767215 | * |
| Red Hat Hardened Images | RedHat | golang1-25-main-1.25.11-2.hum1 | * |
| Red Hat Hardened Images | RedHat | golang1-26-main-1.26.4-2.hum1 | * |
| Red Hat multicluster global hub 1.4.3 | RedHat | multicluster-globalhub/multicluster-globalhub-agent-rhel9:1784061472 | * |
| Red Hat OpenShift Builds 1.7.1 | RedHat | openshift-builds/openshift-builds-waiters-rhel9:1783057868 | * |
| Red Hat OpenShift Builds 1.8.1 | RedHat | openshift-builds/openshift-builds-rhel9-operator:1784121108 | * |
| Red Hat OpenShift Builds 1.8.1 | RedHat | openshift-builds/openshift-builds-waiters-rhel9:1783612119 | * |
| Red Hat Trusted Artifact Signer 1.4 | RedHat | conforma-cli-stack-v1-4-1.4.2 | * |
| Red Hat Trusted Artifact Signer 1.4 | RedHat | conforma-cli-stack-v1-4-1.4.2 | * |
| Golang-1.24 | Ubuntu | questing | * |
| Golang-1.25 | Ubuntu | questing | * |