CVE-2021-30246Kjur Jsrsasign
Critical 9.1 No auth needed
Follow: this CVE · Kjur · Kjur Jsrsasign We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 63
- Auth required
- No
- Published
- Apr 7, 2021
- Updated
- Jun 22, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-347
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Jsrsasign.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | jsrsasign |
< 10.2.0 |
10.2.0 |
npm install jsrsasign@10.2.0 |
Per OSV / GitHub Advisories (GHSA-27fj-mc8w-j9wg). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| kjur | jsrsasign | ≤ 10.1.13 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory
- github.com Release Notes Third Party Advisory
- kjur.github.io Release Notes Third Party Advisory