CVE-2024-21484: High severity Jsrsasign Project Jsrsasign Node.js vulnerability

Published Jan 19, 2024
·
Updated

Impact RSA PKCS#1.5 or RSAOAEP ciphertexts may be decrypted by this Marvin attack vulnerability.

Patches update to jsrsasign 11.0.0.

Workarounds Find and replace RSA and RSAOAEP decryption with other crypto library.

References https://people.redhat.com/~hkario/marvin/ https://github.com/kjur/jsrsasign/issues/598 https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-6070732 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21484

Other sources

Versions of the package jsrsasign before 11.0.0 are vulnerable to Observable Discrepancy via the RSA PKCS1.5 or RSAOAEP decryption process. An attacker can decrypt ciphertexts by exploiting the Marvin security flaw. Exploiting this vulnerability requires the attacker to have access to a large number of ciphertexts encrypted with the same key. Workaround The vulnerability can be mitigated by finding and replacing RSA and RSAOAEP decryption with another crypto library.

MITRE

Affected Software

3 affected componentsFixes available
npm/jsrsasign<11.0.0
11.0.0
Jsrsasign Project Jsrsasign Node.js<11.0.0
kjur Jsrsasign Node.js<11.0.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/jsrsasign to a version that resolves this vulnerability.

    Fixed in 11.0.0
  2. Compensating control

    Find and replace RSA and RSAOAEP decryption implemented with jsrsasign with equivalent functionality from a different, secure crypto library (i.e., replace RSA/RSAOAEP decryption calls using jsrsasign to mitigate the Marvin vulnerability).

Event History

Jan 19, 2024
Advisory Published
via GitHub·03:06 PM
Jan 22, 2024
CVE Published
via MITRE·05:00 AM
Data Sourced
via MITRE·05:00 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-21484?

CVE-2024-21484 is classified as a significant vulnerability due to its ability to allow RSA PKCS#1.5 or RSAOAEP ciphertexts to be decrypted through a specific attack.

2

How do I fix CVE-2024-21484?

To fix CVE-2024-21484, you should update to jsrsasign version 11.0.0.

3

What types of decryption are affected by CVE-2024-21484?

CVE-2024-21484 affects decryption using RSA PKCS#1.5 and RSAOAEP algorithms.

4

What are the recommended workarounds for CVE-2024-21484?

A recommended workaround for CVE-2024-21484 is to replace RSA and RSAOAEP decryption with an alternative cryptography library.

5

Which software package is impacted by CVE-2024-21484?

The software package impacted by CVE-2024-21484 is jsrsasign, specifically versions below 11.0.0.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203