CVE-2021-30246
JavaScript RSA Sanitize Package RSA Signature Forgery
Description
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.
INFO
Published Date :
April 7, 2021, 9:15 p.m.
Last Modified :
Nov. 21, 2024, 6:03 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 2.0 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | CRITICAL | [email protected] | 
Public PoC/Exploit Available at Github
                                            CVE-2021-30246 has a 7 public
                                            PoC/Exploit available at Github.
                                            Go to the Public Exploits tab to see the list.
                                        
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2021-30246.
                                        
| URL | Resource | 
|---|---|
| https://github.com/kjur/jsrsasign/issues/478 | Third Party Advisory | 
| https://github.com/kjur/jsrsasign/releases/tag/10.1.13 | Release Notes Third Party Advisory | 
| https://kjur.github.io/jsrsasign/ | Release Notes Third Party Advisory | 
| https://github.com/kjur/jsrsasign/issues/478 | Third Party Advisory | 
| https://github.com/kjur/jsrsasign/releases/tag/10.1.13 | Release Notes Third Party Advisory | 
| https://kjur.github.io/jsrsasign/ | Release Notes Third Party Advisory | 
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2021-30246 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2021-30246
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
JavaScript
None
JavaScript
None
JavaScript
None
JavaScript
npm directory of the jsrsasign repo
Makefile JavaScript
None
Makefile HTML JavaScript CSS
The 'jsrsasign' (RSA-Sign JavaScript Library) is an opensource free cryptography library supporting RSA/RSAPSS/ECDSA/DSA signing/validation, ASN.1, PKCS#1/5/8 private/public key, X.509 certificate, CRL, OCSP, CMS SignedData, TimeStamp, CAdES and JSON Web Signature/Token in pure JavaScript.
asn1 x509 certificate crl ocsp timestamp cms rsa dsa ecdsa aes 3des sha1 sha2 signature encryption decryption
JavaScript CSS HTML Makefile
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2021-30246 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2021-30246 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/kjur/jsrsasign/issues/478 Added Reference https://github.com/kjur/jsrsasign/releases/tag/10.1.13 Added Reference https://kjur.github.io/jsrsasign/  - 
                            
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value  - 
                            
Initial Analysis by [email protected]
Apr. 14, 2021
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:P/A:N) Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N Changed Reference Type https://github.com/kjur/jsrsasign/issues/478 No Types Assigned https://github.com/kjur/jsrsasign/issues/478 Third Party Advisory Changed Reference Type https://github.com/kjur/jsrsasign/releases/tag/10.1.13 No Types Assigned https://github.com/kjur/jsrsasign/releases/tag/10.1.13 Release Notes, Third Party Advisory Changed Reference Type https://kjur.github.io/jsrsasign/ No Types Assigned https://kjur.github.io/jsrsasign/ Release Notes, Third Party Advisory Added CWE NIST CWE-347 Added CPE Configuration OR *cpe:2.3:a:jsrsasign_project:jsrsasign:*:*:*:*:*:node.js:*:* versions up to (including) 10.1.13  
Vulnerability Scoring Details
Base CVSS Score: 9.1
Base CVSS Score: 6.4
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.20 }} 0.03%
score
0.42364
percentile