Forge: RSA multi-prime private keys are read as two-prime keys, and signatures leak a factor of the modulus
影響
| パッケージ | 影響する版 | 修正版 |
|---|---|---|
| npm:node-forge | <= 1.4.3 | 1.4.4 |
pki.privateKeyFromPem() and pki.privateKeyFromAsn1() ignore the RSAPrivateKey version and the otherPrimeInfos field, so a multi-prime RSA key is read with only its first two primes. Signatures made with such a key are invalid, and each one reveals a factor of the modulus to anyone who sees it. Fixed in node-forge 1.4.4. Details RFC 8017 (A.1.2) allows RSA private keys with more than two primes: version 1, with the extra primes in otherPrimeInfos. node-forge only supports two-prime keys, but pki…
重大な脆弱性・障害の速報を X で受け取る悪用・大規模な漏洩・障害を、対処法と一緒に。
@vulnpulse_app をフォロー2026/12/02 03:42、GitHub Advisory Databaseが「Forge: RSA multi-prime private keys are read as two-prime keys, and signatures leak a factor of the modulus」を公開しました (種別: 脆弱性アドバイザリ)。重大度は「注意」(low) です。関連する技術: JavaScript / Node.js。CVE: CVE-2026-140099。