CVE-2022-25898
Apache-Jsrsasign Cryptographic Signature Validation Bypass
Description
The package jsrsasign before 10.5.25 are vulnerable to Improper Verification of Cryptographic Signature when JWS or JWT signature with non Base64URL encoding special characters or number escaped characters may be validated as valid by mistake. Workaround: Validate JWS or JWT signature if it has Base64URL and dot safe string before executing JWS.verify() or JWS.verifyJWT() method.
INFO
Published Date :
July 1, 2022, 8:15 p.m.
Last Modified :
Nov. 21, 2024, 6:53 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2022-25898 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-2022-25898
.
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-2022-25898
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-25898
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/commit/4536a6e9e8bcf1a644ab7c07ed96e453347dae41 Added Reference https://github.com/kjur/jsrsasign/releases/tag/10.5.25 Added Reference https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-2935898 Added Reference https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBKJUR-2935897 Added Reference https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2935896 Added Reference https://snyk.io/vuln/SNYK-JS-JSRSASIGN-2869122 -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Jul. 13, 2022
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:P/A:P) Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://github.com/kjur/jsrsasign/commit/4536a6e9e8bcf1a644ab7c07ed96e453347dae41 No Types Assigned https://github.com/kjur/jsrsasign/commit/4536a6e9e8bcf1a644ab7c07ed96e453347dae41 Patch, Third Party Advisory Changed Reference Type https://github.com/kjur/jsrsasign/releases/tag/10.5.25 No Types Assigned https://github.com/kjur/jsrsasign/releases/tag/10.5.25 Release Notes, Third Party Advisory Changed Reference Type https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-2935898 No Types Assigned https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-2935898 Exploit, Patch, Third Party Advisory Changed Reference Type https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBKJUR-2935897 No Types Assigned https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBKJUR-2935897 Exploit, Patch, Third Party Advisory Changed Reference Type https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2935896 No Types Assigned https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2935896 Exploit, Patch, Third Party Advisory Changed Reference Type https://snyk.io/vuln/SNYK-JS-JSRSASIGN-2869122 No Types Assigned https://snyk.io/vuln/SNYK-JS-JSRSASIGN-2869122 Exploit, Patch, Third Party Advisory Added CWE NIST CWE-347 Added CPE Configuration OR *cpe:2.3:a:jsrsasign_project:jsrsasign:*:*:*:*:*:node.js:*:* versions from (including) 4.8.0 up to (excluding) 10.5.25 -
CVE Modified by [email protected]
Jul. 01, 2022
Action Type Old Value New Value Changed Description The package jsrsasign before 10.5.25 are vulnerable to Improper Verification of Cryptographic Signature when JWS or JWT signature with non Base64URL encoding special characters or number escaped characters may be validated as valid by mistake. Workaround: Validate JWS or JWT signature if it has Base64URL and dot safe string before executing JWS.verify() or JWS.verifyJWT() method. The package jsrsasign before 10.5.25 are vulnerable to Improper Verification of Cryptographic Signature when JWS or JWT signature with non Base64URL encoding special characters or number escaped characters may be validated as valid by mistake. Workaround: Validate JWS or JWT signature if it has Base64URL and dot safe string before executing JWS.verify() or JWS.verifyJWT() method.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-25898
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-2022-25898
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.79 }} -0.51%
score
0.81283
percentile