CVE-2022-25898
Last modified
CVE-2022-25898 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 0.91% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Kjur | Jsrsasign | >= 4.8.0, < 10.5.25 |
References
- https://github.com/kjur/jsrsasign/commit/4536a6e9e8bcf1a644ab7c07ed96e453347dae41Patch, Third Party Advisory
- https://github.com/kjur/jsrsasign/releases/tag/10.5.25Release Notes, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-2935898Exploit, Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBKJUR-2935897Exploit, Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2935896Exploit, Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-JSRSASIGN-2869122Exploit, Patch, Third Party Advisory
- https://github.com/kjur/jsrsasign/commit/4536a6e9e8bcf1a644ab7c07ed96e453347dae41Patch, Third Party Advisory
- https://github.com/kjur/jsrsasign/releases/tag/10.5.25Release Notes, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-2935898Exploit, Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBKJUR-2935897Exploit, Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2935896Exploit, Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-JSRSASIGN-2869122Exploit, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-25898?
How severe is CVE-2022-25898?
How do I fix CVE-2022-25898?
How Strix Helps
- Same Subject, Wrong User: A Cross-Issuer Account Takeover in n8nStrix found an identity-binding bug in n8n's token-exchange flow enabling account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-25892The package muhammara before 2.6.1, from 3.0.0 and before 3.…7.5
- CVE-2022-25893The package vm2 before 3.9.10 are vulnerable to Arbitrary Co…9.8
- CVE-2022-25894All versions of the package com.bstek.uflo:uflo-core are vul…9.8
- CVE-2022-25895All versions of package lite-dev-server are vulnerable to Di…7.5
- CVE-2022-25896This affects the package passport before 0.6.0. When a user …4.8
- CVE-2022-25897The package org.eclipse.milo:sdk-server before 0.6.8 are vul…7.5
- CVE-2022-25899Authentication bypass for the Open AMT Cloud Toolkit softwar…9.8
- CVE-2022-2590A race condition was found in the way the Linux kernel's mem…7
- CVE-2022-25900All versions of package git-clone are vulnerable to Command …9.8
- CVE-2022-25901Versions of the package cookiejar before 2.1.4 are vulnerabl…7.5
- CVE-2022-25903The package opcua from 0.0.0 are vulnerable to Denial of Ser…7.5
- CVE-2022-25904All versions of package safe-eval are vulnerable to Prototyp…9.8
Are you affected by CVE-2022-25898?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
