{"answers":{"affected":"2 open source packages ship an affected version, including jsrsasign. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-21484 in the wild and no public exploit code.","fix":"Upgrade jsrsasign to 11.0.0 or later.","what":"CVE-2024-21484 is a high-severity vulnerability in jsrsasign, published on 22 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-21484 and fix it if it is affected.\n\nWhat it is: CVE-2024-21484 is a high-severity vulnerability in jsrsasign, published on 22 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-21484 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- jsrsasign (npm): affected all versions; fixed in 11.0.0\n- jsrsasign (npm): affected all versions; fixed in 11.0.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-21484/ (Markdown: https://insights.sbomify.com/CVE-2024-21484/index.md)","id":"CVE-2024-21484","markdown":"https://insights.sbomify.com/CVE-2024-21484/index.md","name":"CVE-2024-21484","record":{"aliases":["GHSA-rh63-9qcf-83gf"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"JavaScript crypto library","requires_auth":"none","summary":"An attacker can decrypt RSA ciphertexts by exploiting a timing side-channel in the jsrsasign library, requiring access to many encrypted messages.","user_interaction":"not_required","vuln_class":"weak_cryptography"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"snyk","cpe":[{"product":"jsrsasign","vendor":"kjur"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:L/E:P","version":"3.1"},"cwes":[{"id":"CWE-203","name":"Observable Discrepancy"}],"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.\r\r Workaround \r\rThe vulnerability can be mitigated by finding and replacing RSA and RSAOAEP decryption with another crypto library.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Marvin Attack of RSA and RSAOAEP decryption in jsrsasign","id":"CVE-2024-21484","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"weak_cryptography","year":"2024"},"n_packages":2,"n_references":7,"next":{"headline":"Dash apps vulnerable to Cross-site Scripting","id":"CVE-2024-21485"},"packages":[{"ecosystem":"npm","fixed":["11.0.0"],"introduced":["0"],"last_affected":[],"package":"jsrsasign","purl":null,"source":"GHSA-rh63-9qcf-83gf"},{"ecosystem":"npm","fixed":["11.0.0"],"introduced":["0"],"last_affected":[],"package":"jsrsasign","purl":"pkg:npm/jsrsasign","source":"GHSA-rh63-9qcf-83gf"}],"prev":{"headline":"Information disclosure in SENTRON 7KM PAC3120 AC/DC","id":"CVE-2024-21483"},"products":["jsrsasign","org.webjars.bower:jsrsasign","org.webjars.bowergithub.kjur:jsrsasign","org.webjars.npm:jsrsasign"],"published":"2024-01-22","related":[{"cvss_score":9.8,"headline":"RSA PKCS#1 decryption vulnerability with prepending zeros in jsrsasign","id":"CVE-2020-14967","kev_date_added":null,"published":"2020-06-22"},{"cvss_score":9.8,"headline":"RSA-PSS signature validation vulnerability by prepending zeros in jsrsasign","id":"CVE-2020-14968","kev_date_added":null,"published":"2020-06-22"},{"cvss_score":9.4,"headline":"jsrsasign: Missing cryptographic validation during DSA signing enables private key extraction","id":"CVE-2026-4601","kev_date_added":null,"published":"2026-03-23"},{"cvss_score":9.3,"headline":"jsrsasign: Incomplete Comparison Allows DSA Private Key Recovery via Biased Nonce Generation","id":"CVE-2026-4599","kev_date_added":null,"published":"2026-03-23"},{"cvss_score":9.1,"headline":"jsrsasign: DSA signatures or X.509 certificates can be forged via DSA domain-parameter validation in KJUR.crypto.DSA.setPublic","id":"CVE-2026-4600","kev_date_added":null,"published":"2026-03-23"},{"cvss_score":9.1,"headline":"RSA signature validation vulnerability on maleable encoded message in jsrsasign","id":"CVE-2021-30246","kev_date_added":null,"published":"2021-04-07"},{"cvss_score":8.7,"headline":"jsrsasign is vulnerable to DoS through Infinite Loop when processing zero or negative inputs","id":"CVE-2026-4598","kev_date_added":null,"published":"2026-03-23"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-10-21","vendors":["n/a"]},"summary":"An attacker can decrypt RSA ciphertexts by exploiting a timing side-channel in the jsrsasign library, requiring access to many encrypted messages.","url":"https://insights.sbomify.com/CVE-2024-21484/"}