7.5high
Marvin Attack of RSA and RSAOAEP decryption in jsrsasign
- Severity
- 7.5high CVSS:3.1 by snyk
- Exploit likelihood
- 0.95% (higher than 62% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-rh63-9qcf-83gf
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| jsrsasign | before 11.0.0 | CVE List |
| org.webjars.npm:jsrsasign | before * | CVE List |
| org.webjars.bowergithub.kjur:jsrsasign | before * | CVE List |
| org.webjars.bower:jsrsasign | before * | CVE List |
| jsrsasign (npm) | before 11.0.0 | GitHub Advisory Database |
| kjur jsrsasign | before 11.0.0 | NVD |
All scores
| snyk | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:L/E:P |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:L |
| NVD | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
GitHub Advisory Database
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
NVD (es)
Las versiones del paquete jsrsasign anteriores a 11.0.0 son vulnerables a la discrepancia observable a través del proceso de descifrado RSA PKCS1.5 o RSAOAEP. Un atacante puede descifrar textos cifrados aprovechando esta vulnerabilidad. Explotar esta vulnerabilidad requiere que el atacante tenga acceso a una gran cantidad de textos cifrados con la misma clave. Workaround esta vulnerabilidad se puede mitigar buscando y reemplazando el descifrado RSA y RSAOAEP con otra librería criptográfica.
References
| https://security.snyk.io/vuln/SNYK-JS-JSRSASIGN-6070731 | patch, third-party-advisory, web | |
| https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-6070732 | patch, third-party-advisory, web | |
| https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBKJUR-6070733 | patch, third-party-advisory, web | |
| https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-6070734 | patch, third-party-advisory, web | |
| https://github.com/kjur/jsrsasign/issues/598 | exploit, issue-tracking, vendor-advisory, web | |
| https://github.com/kjur/jsrsasign/releases/tag/11.0.0 | patch, release-notes, web | |
| https://people.redhat.com/~hkario/marvin/ | ||
| https://github.com/kjur/jsrsasign/security/advisories/GHSA-rh63-9qcf-83gf | web | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-21484 | advisory | |
| https://github.com/kjur/jsrsasign | package | |
| https://people.redhat.com/~hkario/marvin | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-21484 changed 2024-10-21 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-rh63-9qcf-83gf changed 2024-02-27 | CC-BY-4.0 |
| NVD | CVE-2024-21484 changed 2026-06-22 | Public domain |