Vulnerability in Jsrsasign Project
CVE-2022-25898
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.7 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H.
EPSS exploit prediction
EPSS: 0.012 (65.7th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 66th percentile — 65.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.011 · newest: 0.012 · change: +0.000
Affected products
- Jsrsasign Project
- Kjur Jsrsasign
- Jsrsasign — versions unspecified
Weakness classification (CWE)
Public proof-of-concept exploits
References
- snyk.io/vuln/SNYK-JS-JSRSASIGN-2869122 (Exploit, Patch, Third Party Advisory)
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2935896 (Exploit, Patch, Third Party Advisory)
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBKJUR-2935897 (Exploit, Patch, Third Party Advisory)
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-2935898 (Exploit, Patch, Third Party Advisory)
- github.com/kjur/jsrsasign/commit/4536a6e9e8bcf1a644ab7c07ed96e453347dae41 (Patch, Third Party Advisory)
- github.com/kjur/jsrsasign/releases/tag/10.5.25 (Third Party Advisory, Release Notes)
Frequently asked questions
- What is CVE-2022-25898?
- CVE-2022-25898 is a high-severity vulnerability in Jsrsasign Project, classified under Improper Verification of Cryptographic Signature. CVSS score: 7.7/10. Published 2022-07-01.
- How severe is CVE-2022-25898?
- High severity. CVSS v3 base score is 7.7 out of 10.
- Is CVE-2022-25898 known to be exploited?
- 8 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.