CVE-2026-4598
HIGH7.5EPSS 0.08%jsrsasign is vulnerable to DoS through Infinite Loop when processing zero or negative inputs
發布日:2026/3/23修改日:2026/3/29
描述
Versions of the package jsrsasign before 11.1.1 are vulnerable to Infinite loop via the bnModInverse function in ext/jsbn2.js when the BigInteger.modInverse implementation receives zero or negative inputs, allowing an attacker to hang the process permanently by supplying such crafted values (e.g., modInverse(0, m) or modInverse(-1, m)).
受影響套件(1)
- npm/jsrsasignfrom 0, < 11.1.1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
參考連結(6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2026-4598
- PATCHhttps://github.com/kjur/jsrsasign
- WEBhttps://gist.github.com/Kr0emer/a1bf5cd4547cc630d2dcc5e761de8264
- WEBhttps://github.com/kjur/jsrsasign/commit/ca5b027240287a1e71fe63019fc4400332594323
- WEBhttps://github.com/kjur/jsrsasign/pull/648
- WEBhttps://security.snyk.io/vuln/SNYK-JS-JSRSASIGN-15370938