{"id":"CVE-2024-54134","published":"2024-12-04T15:20:54Z","modified":"2024-12-04T21:40:13Z","title":"@solana/web3.js modified package published to npm, containing malware that exfiltrates private key material","vendor":"solana-labs","product":"solana-web3.js","tier":"tail","description":{"text":"A publish-access account was compromised for `@solana/web3.js`, a JavaScript library that is commonly used by Solana dapps. This allowed an attacker to publish unauthorized and malicious packages that were modified, allowing them to steal private key material and drain funds from dapps, like bots, that handle private keys directly. This issue should not affect non-custodial wallets, as they generally do not expose private keys during transactions. This is not an issue with the Solana protocol itself, but with a specific JavaScript client library and only appears to affect projects that directly handle private keys and that updated within the window of 3:20pm UTC and 8:25pm UTC on Tuesday, December 3, 2024. These two unauthorized versions (1.95.6 and 1.95.7) were caught within hours and have since been unpublished. All Solana app developers should upgrade to version 1.95.8. Developers that suspect they might be compromised should rotate any suspect authority keys, including multisigs, program authorities, server keypairs, and so on.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.3,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00787,"percentile":0.52724,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/solana-labs/solana-web3.js/security/advisories/GHSA-jcxm-7wvp-g6p5","tags":["x_refsource_CONFIRM"]}],"priority":{"score":16.4,"factors":[{"name":"EPSS percentile","points":10.54},{"name":"CVSS severity","points":5.81}]},"vendorSlug":"solana-labs","affectedVersions":[{"vendor":"solana-labs","product":"solana-web3.js","versions":[">= 1.95.6, < 1.95.8"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-12-04T19:13:52.817690Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@solana/web3.js","vulnerableRanges":[">=1.95.6, <1.95.8"],"patched":["1.95.8"],"from":["GHSA-jcxm-7wvp-g6p5"],"provenance":"source"}],"summary":{"text":"The @solana/web3.js JavaScript client library for Solana had a compromised publish-access account, and the attacker published modified malicious versions (1.95.6 and 1.95.7) containing malware that exfiltrates private key material. An attacker can exploit this over the network without authentication or privileges, and it requires user interaction in the form of a project installing one of the affected package versions, with the impact limited to applications that handle private keys directly, such as bots, rather than non-custodial wallets.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:29:23Z"},"euvd":{"id":"EUVD-2024-3483","exploited":false,"provenance":"source"}}