7.5Alta

CVE-2025-58187Quadratic complexity when checking name constraints in crypto/x509

Go standard library crypto/x509 Publicada: (hace 1 año)

Descripción

Due to the design of the name constraint checking algorithm, the processing time of some inputs scale non-linearly with respect to the size of the certificate. This affects programs which validate arbitrary certificate chains.

Debilidad (CWE): CWE-407

Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.

Productos y versiones afectados

FabricanteProductoVersiones
Go standard library crypto/x509 < 1.24.9, 1.25.0 – < 1.25.3
golang go < 1.24.9

Referencias y parches

Coincidencias CPE (NVD) (2)

  • cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* < 1.24.9
  • cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* ≥ 1.25.0 < 1.25.3