CVE-2026-119189
CVE-2026-119189 · Forge: X.509 pathLenConstraint not enforced by verifyCertificateChain() for CA certificates without keyUsage
Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, node-forge enforced an X.509 CA certificate's basicConstraints.pathLenConstraint only when that certificate also carried a keyUsage extension. Exploitation requires a path-length-constrained CA without keyUsage that chains to a root trusted by the application, and an attacker who holds that CA's private key or obtains a subordinate CA certificate from it. The attacker could then construct a chain exceeding the declared path length that still passed pki.verifyCertificateChain(). Public web PKI CA certificates normally include keyUsage; private PKIs with CA certificates created without it are more likely to be affected. This issue is fixed in version 1.4.1.
CVSS 5.9 · Media · EPSS 0,2%
- Publicación
- Actualización
Pila tecnológica: system
Productos y versiones afectados
forge
- Versiones
- < 1.4.1: Afectada
Sin corrección publicada
node-node-forge Ubuntu:20.04:LTS
- Versiones
- 0.8.5~dfsg-2
- 0.9.1~dfsg-1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
node-node-forge Ubuntu:22.04:LTS
- Versiones
- 0.10.0~dfsg-3
- 1.2.1~dfsg-2
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada