Forgeの証明書検証に脆弱性 偽の認証局として証明書を発行される恐れ
Summary
Forge(node-forge)には、非推奨の拡張OID 2.5.29.10と2.5.29.13を基本制約として解釈し、証明書チェーンの検証でそれを優先してしまう脆弱性(CVE-2026-119190)があります。信頼された認証局が攻撃者の指定した拡張を含む証明書を発行した場合、その証明書が認証局として受け入れられ、任意の名前の証明書を発行されて、サーバーやクライアントのなりすましにつながるおそれがあります。影響を受けるのは1.4.1より前のバージョンで、1.4.1で修正されています。1.4.1以降へ更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Forge(node-forge)には、非推奨の拡張OID 2.5.29.10と2.5.29.13を基本制約として解釈し、証明書チェーンの検証でそれを優先してしまう脆弱性(CVE-2026-119190)があります。信頼された認証局が攻撃者の指定した拡張を含む証明書を発行した場合、その証明書が認証局として受け入れられ、任意の名前の証明書を発行されて、サーバーやクライアントのなりすましにつながるおそれがあります。影響を受けるのは1.4.1より前のバージョンで、1.4.1で修正されています。1.4.1以降へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| digitalbazaarforge | — | Not listed |
| npmnode-forge |
< 1.4.1→ 1.4.1 |
1.4.1 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Ubuntu UBUNTU-CVE-2026-119190 node-node-forge No fixed version in this record
Original description The description as published by the source.
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, node-forge parsed deprecated extension OIDs 2.5.29.10 and 2.5.29.13 as basicConstraints, and pki.verifyCertificateChain() used the first extension with that name. Exploitation requires a CA trusted by the application to issue a certificate carrying an attacker-supplied deprecated-OID extension, commonly because the CA copies extensions from a certificate signing request. By placing a permissive deprecated extension before the genuine 2.5.29.19 basicConstraints extension, the certificate holder could have the certificate accepted as a CA and issue certificates for arbitrary names, enabling server or client impersonation. If the issuing CA adds a keyUsage extension without keyCertSign, node-forge rejects the chain. This issue is fixed in version 1.4.1.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- web github.com
- web github.com