CVE-2024-21484
JSON

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 packageVersionsReported by
jsrsasignbefore 11.0.0CVE List
org.webjars.npm:jsrsasignbefore *CVE List
org.webjars.bowergithub.kjur:jsrsasignbefore *CVE List
org.webjars.bower:jsrsasignbefore *CVE List
jsrsasign (npm)before 11.0.0GitHub Advisory Database
kjur jsrsasignbefore 11.0.0NVD

All scores

snyk7.5high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:L/E:P
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:L
NVD5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-203

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-6070731patch, third-party-advisory, web
https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-6070732patch, third-party-advisory, web
https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBKJUR-6070733patch, third-party-advisory, web
https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-6070734patch, third-party-advisory, web
https://github.com/kjur/jsrsasign/issues/598exploit, issue-tracking, vendor-advisory, web
https://github.com/kjur/jsrsasign/releases/tag/11.0.0patch, release-notes, web
https://people.redhat.com/~hkario/marvin/
https://github.com/kjur/jsrsasign/security/advisories/GHSA-rh63-9qcf-83gfweb
https://nvd.nist.gov/vuln/detail/CVE-2024-21484advisory
https://github.com/kjur/jsrsasignpackage
https://people.redhat.com/~hkario/marvinweb

Sources

SourceRecordLicence
CVE ListCVE-2024-21484 changed 2024-10-21CVE Terms of Use
GitHub Advisory DatabaseGHSA-rh63-9qcf-83gf changed 2024-02-27CC-BY-4.0
NVDCVE-2024-21484 changed 2026-06-22Public domain