CVE-2021-30246 json
RSA signature validation vulnerability on maleable encoded message in jsrsasign
published 2021-04-07 5 y ago modified 2026-06-22 4 mo ago also GHSA-27fj-mc8w-j9wg , EUVD-2021-0736
- cvss
- 9.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 61%
- public exploits
- 0
- none known
Summary
In the jsrsasign package through 10.1.13 for Node.js, some invalid RSA PKCS#1 v1.5 signatures are mistakenly recognized to be valid. NOTE: there is no known practical attack.
Patch / fix
Exploit prediction
0.96% chance of exploitation in the next 30 days, higher than 61% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | 2.0 | 6.4 | AV:N/AC:L/Au:N/C:P/I:P/A:N |
| GitHub | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | jsrsasign | <10.2.0 |
10.2.0 |
Classification
- Weakness
-
- CWE-347 Improper Verification of Cryptographic Signature
References
-
kjur.github.io
/jsrsasign/
release-notes, third-party-advisory
-
github.com
/kjur/jsrsasign/issues/478
web, third-party-advisory
-
github.com
/kjur/jsrsasign/releases/tag/10.1.13
web, release-notes, third-party-advisory
-
github.com
/kjur/jsrsasign/security/advisories/GHSA-27fj-mc8w-j9wg
web
-
nvd.nist.gov
/vuln/detail/CVE-2021-30246
advisory
-
kjur.github.io
/jsrsasign
web
Sources
- CVE List CVE-2021-30246
- GitHub Advisory GHSA-27fj-mc8w-j9wg
- NVD CVE-2021-30246
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.