Forge(node-forge)にPEM解析の処理負荷による サービス妨害の脆弱性
Summary
Forge(node-forge)の1.4.1より前のバージョンには、pem.decode()の正規表現処理によりサービス妨害を受ける脆弱性があります。認証のない攻撃者が長く不正な形式のPEM入力を渡すだけで、CPUを使い果たさせることができ、CVSSは7.5です。修正版の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)の1.4.1より前のバージョンには、pem.decode()の正規表現処理によりサービス妨害を受ける脆弱性があります。認証のない攻撃者が長く不正な形式のPEM入力を渡すだけで、CPUを使い果たさせることができ、CVSSは7.5です。修正版の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-118779 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, the affected implementation used pem.decode(), lib/pem.js, missing END line to process the relevant input or security decision. node-forge used polynomial-time regular expressions in pem.decode(), including when searching for a matching END line and parsing encapsulated headers. An unauthenticated attacker able to supply PEM input to any high-level parser could consume excessive CPU with a long malformed message and cause denial of service. 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