PT-2024-9247 · Solana · @Solana/Web3.Js

Luscher

·

Published

2024-12-02

·

Updated

2025-04-19

·

CVE-2024-54134

CVSS v4.0

8.3

High

VectorAV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions: @solana/web3.js versions 1.95.6 through 1.95.7
Description: A publish-access account was compromised for @solana/web3.js, a JavaScript library commonly used by Solana dapps. This allowed an attacker to publish unauthorized and malicious packages, enabling them to steal private key material and drain funds from dapps that handle private keys directly. The issue does not affect non-custodial wallets, as they generally do not expose private keys during transactions. It is a problem with a specific JavaScript client library, affecting projects that directly handle private keys and updated within a specific time window.
Recommendations: For versions 1.95.6 and 1.95.7, 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.

Exploit

Fix

Information Disclosure

RCE

Weakness Enumeration

Related Identifiers

BDU:2024-10935
CVE-2024-54134
GHSA-JCXM-7WVP-G6P5

Affected Products

@Solana/Web3.Js