CVE-2024-54134

Source
https://cve.org/CVERecord?id=CVE-2024-54134
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-54134.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-54134
Aliases
Published
2024-12-04T15:20:54.084Z
Modified
2026-04-10T05:18:28.363962Z
Severity
  • 8.3 (High) CVSS_V4 - 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 CVSS Calculator
Summary
@solana/web3.js modified package published to npm, containing malware that exfiltrates private key material
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-200"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/54xxx/CVE-2024-54134.json",
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/solana-labs/solana-web3.js

Affected ranges

Type
GIT
Repo
https://github.com/solana-labs/solana-web3.js
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "1.95.6"
        },
        {
            "fixed": "1.95.8"
        }
    ]
}

Affected versions

Other
preview
tp
tp2
tp3
tp4
v0.*
v0.61.1
v0.61.2
v0.61.3
v0.61.4
v0.62.0
v0.63.0
v0.63.1
v0.63.2
v0.64.0
v0.64.1
v0.64.2
v0.64.3
v0.65.0
v0.66.0
v0.66.1
v0.66.2
v0.66.3
v0.66.4
v0.67.0
v0.68.0
v0.69.0
v0.70.0
v0.70.1
v0.70.2
v0.70.3
v0.71.0
v0.71.1
v0.71.10
v0.71.11
v0.71.12
v0.71.13
v0.71.14
v0.71.2
v0.71.3
v0.71.4
v0.71.5
v0.71.6
v0.71.7
v0.71.8
v0.71.9
v0.72.0
v0.73.0
v0.74.0
v0.75.0
v0.75.1
v0.75.2
v0.76.0
v0.77.0
v0.78.0
v0.78.1
v0.78.2
v0.78.3
v0.78.4
v0.79.0
v0.79.1
v0.80.0
v0.80.1
v0.80.2
v0.81.0
v0.82.0
v0.83.0
v0.83.1
v0.84.0
v0.84.1
v0.85.0
v0.86.0
v0.86.1
v0.86.2
v0.86.3
v0.86.4
v0.87.0
v0.87.1
v0.87.2
v0.88.0
v0.89.0
v0.89.1
v0.90.0
v0.90.1
v0.90.2
v0.90.3
v0.90.4
v0.90.5
v0.91.0
v0.91.1
v0.91.2
v0.91.3
v0.92.0
v0.92.1
v0.92.2
v0.92.3
v0.93.0
v0.94.0
v0.94.1
v0.94.2
v0.95.0
v0.96.0
v0.97.0
v0.98.0
v1.*
v1.0.0
v1.1.0
v1.1.1
v1.10.0
v1.10.1
v1.11.0
v1.12.0
v1.13.0
v1.14.0
v1.15.0
v1.16.0
v1.16.1
v1.17.0
v1.18.0
v1.19.0
v1.2.0
v1.2.1
v1.2.2
v1.2.3
v1.2.4
v1.2.5
v1.2.6
v1.2.7
v1.20.0
v1.20.1
v1.20.2
v1.21.0
v1.22.0
v1.23.0
v1.24.0
v1.24.1
v1.24.2
v1.25.0
v1.26.0
v1.27.0
v1.28.0
v1.29.0
v1.29.1
v1.29.2
v1.29.3
v1.3.0
v1.30.0
v1.30.1
v1.30.2
v1.31.0
v1.32.0
v1.32.1
v1.32.2
v1.33.0
v1.34.0
v1.35.0
v1.35.1
v1.36.0
v1.37.0
v1.37.1
v1.37.2
v1.38.0
v1.39.0
v1.39.1
v1.4.0
v1.40.0
v1.40.1
v1.41.0
v1.41.1
v1.41.10
v1.41.2
v1.41.3
v1.41.4
v1.41.5
v1.41.6
v1.41.7
v1.41.8
v1.41.9
v1.42.0
v1.43.0
v1.43.1
v1.43.2
v1.43.3
v1.43.4
v1.43.5
v1.43.6
v1.44.0
v1.44.1
v1.44.2
v1.44.3
v1.45.0
v1.46.0
v1.47.0
v1.47.1
v1.47.2
v1.47.3
v1.47.4
v1.48.0
v1.49.0
v1.5.0
v1.50.0
v1.50.1
v1.51.0
v1.52.0
v1.53.0
v1.54.0
v1.54.1
v1.55.0
v1.56.0
v1.56.1
v1.56.2
v1.57.0
v1.58.0
v1.59.0
v1.59.1
v1.6.0
v1.60.0
v1.61.0
v1.61.1
v1.62.0
v1.62.1
v1.63.0
v1.63.1
v1.64.0
v1.65.0
v1.66.0
v1.66.1
v1.66.2
v1.66.3
v1.66.4
v1.66.5
v1.67.0
v1.67.1
v1.67.2
v1.68.0
v1.68.1
v1.69.0
v1.7.0
v1.7.1
v1.70.0
v1.70.1
v1.70.2
v1.70.3
v1.71.0
v1.72.0
v1.73.0
v1.73.1
v1.73.2
v1.73.3
v1.73.4
v1.74.0
v1.75.0
v1.76.0
v1.77.0
v1.77.1
v1.77.2
v1.77.3
v1.78.0
v1.78.1
v1.78.2
v1.78.3
v1.78.4
v1.78.5
v1.78.6
v1.78.7
v1.79.0
v1.8.0
v1.80.0
v1.81.0
v1.82.0
v1.83.0
v1.84.0
v1.85.0
v1.86.0
v1.87.0
v1.87.1
v1.87.2
v1.87.3
v1.87.4
v1.87.5
v1.87.6
v1.88.0
v1.89.0
v1.89.1
v1.9.0
v1.9.1
v1.90.0
v1.90.1
v1.91.0
v1.91.1
v1.91.2
v1.91.3
v1.91.4
v1.91.5
v1.91.6
v1.91.7
v1.91.8
v1.91.9
v1.92.0
v1.92.1
v1.92.2
v1.92.3
v1.93.0
v1.93.1
v1.93.2
v1.93.3
v1.93.4
v1.94.0
v1.95.0
v1.95.1
v1.95.2
v1.95.3
v1.95.4
v1.95.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-54134.json"