CVE-2022-25898: jsrsasign - Signature Verification Bypass
- Cve: CVE-2022-25898
- Name: jsrsasign - Signature Verification 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.
- Impact: Attackers can forge or validate malicious signatures, potentially leading to unauthorized data access or manipulation.
- Remediation: Validate JWS or JWT signatures with Base64URL and dot-safe string before verification, or update to version 10.5.25 or later.
- Vulnerability type: weak_cryptography
- Vulnerability impact: information_disclosure, data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.01171
- Epss percentile: 0.68239
- Assignee: [email protected]
- Published at: 2022-07-01T20:15:08Z
- Age in days: 1607
- Modified at: 2026-06-22T03:18:31Z
- Patch available: yes
- Public exploits total: 4
- References total: 6
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-25898
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-347 | Improper Verification of Cryptographic Signature |
Public exploits
Same in every row:
- Source: nvd
- Added date: 2022-07-01
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/kjur/jsrsasign/commit/4536a6e9e8bcf1a644ab7c07ed96e453347dae41 | Patch, Third Party Advisory |
| https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-2935898 | Exploit, Patch, Third Party Advisory |
| https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBKJUR-2935897 | Exploit, Patch, Third Party Advisory |
| https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2935896 | Exploit, Patch, Third Party Advisory |
| https://snyk.io/vuln/SNYK-JS-JSRSASIGN-2869122 | Exploit, Patch, Third Party Advisory |
| https://github.com/kjur/jsrsasign/releases/tag/10.5.25 | Release Notes, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| kjur:jsrsasign | >= 4.8.0, < 10.5.25 | no | nvd | /v1/products/kjur/jsrsasign |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| kjur/jsrsasign | commit, fix, package, releases | yes | /v1/repositories/kjur/jsrsasign |
Index
- Repositories: 7
- Repositories high signal: 4
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 4
- Public exploit first date: 2022-07-01
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts