CWE
347
Advisory Published
Updated

CVE-2022-25898: Improper Verification of Cryptographic Signature

First published: Fri Jul 01 2022(Updated: )

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.

Credit: report@snyk.io

Affected SoftwareAffected VersionHow to fix
Jsrsasign Project Jsrsasign>=4.8.0<10.5.25

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2022-25898?

    CVE-2022-25898 is a vulnerability in the package jsrsasign before version 10.5.25 which allows for improper verification of cryptographic signatures.

  • How severe is CVE-2022-25898?

    CVE-2022-25898 is considered critical with a severity score of 9.8.

  • Which software versions are affected by CVE-2022-25898?

    The vulnerability affects jsrsasign package versions between 4.8.0 and 10.5.24.

  • How can I fix CVE-2022-25898?

    To fix CVE-2022-25898, upgrade to jsrsasign version 10.5.25 or later.

  • Are there any workarounds for CVE-2022-25898?

    One workaround is to validate the JWS or JWT signature to ensure it has proper encoding.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203