CVE-2024-21484 json
Marvin Attack of RSA and RSAOAEP decryption in jsrsasign
published 2024-01-19 2 y ago modified 2026-06-22 4 mo ago also GHSA-rh63-9qcf-83gf , EUVD-2024-0416
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 61%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm jsrsasign 11.0.0
- n/a jsrsasign 11.0.0
- github.com/kjur/jsrsasign/releases/tag/11.0.0 release
- security.snyk.io/vuln/SNYK-JS-JSRSASIGN-6070731 advisory
- security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-6070732 advisory
- security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBKJUR-6070733 advisory
- security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-6070734 advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-21484 updated cvss 7.5
jsrsasign: vulnerable to Observable Discrepancy via the RSA PKCS1.5 or RSAOAEP decryption process
-
Red Hat Quay 3 quay/quay-rhel8affected: no fix available
-
Red Hat Migration Toolkit for Virtualization 2.5 migration-toolkit-virtualization/mtv-console-plugin-rhel9 2.5.5-3fixed: vendor fix RHBA-2024:0928
-
Red Hat Migration Toolkit for Virtualization 2.5 migration-toolkit-virtualization/mtv-api-rhel9 2.5.5-2, migration-toolkit-virtualization/mtv-rhel8-operator 2.5.5-8, migration-toolkit-virtualization/mtv-virt-v2v-rhel9 2.5.5-2, migration-toolkit-virtualization/mtv-controller-rhel9 2.5.5-2, migration-toolkit-virtualization/mtv-operator-bundle 2.5.5-16, migration-toolkit-virtualization/mtv-validation-rhel9 2.5.5-2, +7 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
0.96% chance of exploitation in the next 30 days, higher than 61% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/kjur/jsrsasign/issues/598 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:L/E:P |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:L |
| NVD | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | jsrsasign | <11.0.0 |
11.0.0 |
Affected products
- n/a jsrsasign
- n/a org.webjars.npm:jsrsasign
- n/a org.webjars.bowergithub.kjur:jsrsasign
- n/a org.webjars.bower:jsrsasign
Classification
- Weakness
-
- CWE-203 Observable Discrepancy
References
-
security.snyk.io
/vuln/SNYK-JS-JSRSASIGN-6070731
web, patch, third-party-advisory
-
security.snyk.io
/vuln/SNYK-JAVA-ORGWEBJARSNPM-6070732
web, patch, third-party-advisory
-
security.snyk.io
/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBKJUR-6070733
web, patch, third-party-advisory
-
security.snyk.io
/vuln/SNYK-JAVA-ORGWEBJARSBOWER-6070734
web, patch, third-party-advisory
-
github.com
/kjur/jsrsasign/releases/tag/11.0.0
web, patch, release-notes
-
github.com
/kjur/jsrsasign/issues/598
web, exploit, issue-tracking, vendor-advisory
- people.redhat.com /~hkario/marvin/
-
github.com
/kjur/jsrsasign/security/advisories/GHSA-rh63-9qcf-83gf
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-21484
advisory
-
github.com
/kjur/jsrsasign
package
-
people.redhat.com
/~hkario/marvin
web
Sources
- CVE List CVE-2024-21484
- GitHub Advisory GHSA-rh63-9qcf-83gf
- NVD CVE-2024-21484
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.