Search criteria
4 vulnerabilities by solana-labs
CVE-2024-54134 (GCVE-0-2024-54134)
Vulnerability from cvelistv5 – Published: 2024-12-04 15:20 – Updated: 2024-12-04 21:40
VLAI?
Summary
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.
Severity ?
CWE
- CWE-200 - Exposure of Sensitive Information to an Unauthorized Actor
Assigner
References
| URL | Tags | ||||
|---|---|---|---|---|---|
|
|||||
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| solana-labs | solana-web3.js |
Affected:
>= 1.95.6, < 1.95.8
|
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2024-54134",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-12-04T19:13:52.817690Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2024-12-04T21:40:13.670Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "solana-web3.js",
"vendor": "solana-labs",
"versions": [
{
"status": "affected",
"version": "\u003e= 1.95.6, \u003c 1.95.8"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"metrics": [
{
"cvssV4_0": {
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"attackVector": "NETWORK",
"baseScore": 8.3,
"baseSeverity": "HIGH",
"privilegesRequired": "NONE",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "HIGH",
"subIntegrityImpact": "NONE",
"userInteraction": "PASSIVE",
"vectorString": "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",
"version": "4.0",
"vulnAvailabilityImpact": "NONE",
"vulnConfidentialityImpact": "HIGH",
"vulnIntegrityImpact": "NONE"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-200",
"description": "CWE-200: Exposure of Sensitive Information to an Unauthorized Actor",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2024-12-04T15:20:54.084Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/solana-labs/solana-web3.js/security/advisories/GHSA-jcxm-7wvp-g6p5",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/solana-labs/solana-web3.js/security/advisories/GHSA-jcxm-7wvp-g6p5"
}
],
"source": {
"advisory": "GHSA-jcxm-7wvp-g6p5",
"discovery": "UNKNOWN"
},
"title": "@solana/web3.js modified package published to npm, containing malware that exfiltrates private key material"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2024-54134",
"datePublished": "2024-12-04T15:20:54.084Z",
"dateReserved": "2024-11-29T18:02:16.754Z",
"dateUpdated": "2024-12-04T21:40:13.670Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}
CVE-2024-30253 (GCVE-0-2024-30253)
Vulnerability from cvelistv5 – Published: 2024-04-17 15:07 – Updated: 2024-08-21 15:05
VLAI?
Summary
@solana/web3.js is the Solana JavaScript SDK. Using particular inputs with `@solana/web3.js` will result in memory exhaustion (OOM). If you have a server, client, mobile, or desktop product that accepts untrusted input for use with `@solana/web3.js`, your application/service may crash, resulting in a loss of availability. This vulnerability is fixed in 1.0.1, 1.10.2, 1.11.1, 1.12.1, 1.1.2, 1.13.1, 1.14.1, 1.15.1, 1.16.2, 1.17.1, 1.18.1, 1.19.1, 1.20.3, 1.21.1, 1.22.1, 1.23.1, 1.24.3, 1.25.1, 1.26.1, 1.27.1, 1.28.1, 1.2.8, 1.29.4, 1.30.3, 1.31.1, 1.3.1, 1.32.3, 1.33.1, 1.34.1, 1.35.2, 1.36.1, 1.37.3, 1.38.1, 1.39.2, 1.40.2, 1.41.11, 1.4.1, 1.42.1, 1.43.7, 1.44.4, 1.45.1, 1.46.1, 1.47.5, 1.48.1, 1.49.1, 1.50.2, 1.51.1, 1.5.1, 1.52.1, 1.53.1, 1.54.2, 1.55.1, 1.56.3, 1.57.1, 1.58.1, 1.59.2, 1.60.1, 1.61.2, 1.6.1, 1.62.2, 1.63.2, 1.64.1, 1.65.1, 1.66.6, 1.67.3, 1.68.2, 1.69.1, 1.70.4, 1.71.1, 1.72.1, 1.7.2, 1.73.5, 1.74.1, 1.75.1, 1.76.1, 1.77.4, 1.78.8, 1.79.1, 1.80.1, 1.81.1, 1.8.1, 1.82.1, 1.83.1, 1.84.1, 1.85.1, 1.86.1, 1.87.7, 1.88.1, 1.89.2, 1.90.2, 1.9.2, and 1.91.3.
Severity ?
7.5 (High)
CWE
- CWE-119 - Improper Restriction of Operations within the Bounds of a Memory Buffer
Assigner
References
| URL | Tags | |||||||
|---|---|---|---|---|---|---|---|---|
|
||||||||
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| solana-labs | solana-web3.js |
Affected:
>= 1.91.0, < 1.91.3
Affected: >= 1.90, < 1.90.2 Affected: >= 1.89, < 1.89.2 Affected: = 1.88.0 Affected: >=1.87.0, < 1.87.7 Affected: = 1.86.0 Affected: = 1.85.0 Affected: = 1.84.0 Affected: = 1.83.0 Affected: = 1.82.0 Affected: = 1.81.0 Affected: = 1.80.0 Affected: = 1.79.0 Affected: >= 1.78, < 1.78.8 Affected: >= 1.77, < 1.77.4 Affected: = 1.76.0 Affected: = 1.75.0 Affected: = 1.74.0 Affected: >= 1.73.0, < 1.73.5 Affected: = 1.72.0 Affected: = 1.71.0 Affected: >= 1.70.0, < 1.70.4 Affected: = 1.69.0 Affected: >= 1.68.0, < 1.68.2 Affected: >= 1.67.0, < 1.67.3 Affected: >= 1.66.0, < 1.66.6 Affected: = 1.65.0 Affected: = 1.64.0 Affected: >= 1.63.0, < 1.63.2 Affected: >= 1.62.0, < 1.62.2 Affected: >= 1.61.0, < 1.61.2 Affected: = 1.60.0 Affected: >= 1.59.0, < 1.59.2 Affected: = 1.58.0 Affected: = 1.57.0 Affected: >= 1.56.0, < 1.56.3 Affected: = 1.55.0 Affected: >= 1.54.0, < 1.54.2 Affected: = 1.53.0 Affected: = 1.52.0 Affected: = 1.51.0 Affected: >= 1.50.0, < 1.50.2 Affected: = 1.49.0 Affected: = 1.48.0 Affected: >= 1.47.0, < 1.47.5 Affected: = 1.46.0 Affected: = 1.45.0 Affected: >= 1.44.0, < 1.44.4 Affected: >= 1.43.0, < 1.43.7 Affected: = 1.42.0 Affected: >= 1.41.0, < 1.41.11 Affected: >= 1.40.0, < 1.40.2 Affected: >= 1.39.0, < 1.39.2 Affected: = 1.38.0 Affected: >= 1.37.0, < 1.37.3 Affected: = 1.36.0 Affected: >= 1.35.0, < 1.35.2 Affected: = 1.34.0 Affected: = 1.33.0 Affected: >= 1.32.0, < 1.32.2 Affected: = 1.31.0 Affected: >= 1.30.0, < 1.30.3 Affected: >= 1.29.0, < 1.29.4 Affected: = 1.28.0 Affected: = 1.27.0 Affected: = 1.26.0 Affected: = 1.25.0 Affected: >= 1.24.0, < 1.24.3 Affected: = 1.23.0 Affected: = 1.22.0 Affected: = 1.21.0 Affected: >= 1.20.0, < 1.20.3 Affected: = 1.19.0 Affected: = 1.18.0 Affected: = 1.17.0 Affected: >= 1.16.0, < 1.16.2 Affected: = 1.15.0 Affected: = 1.14.0 Affected: = 1.13.0 Affected: = 1.12.0 Affected: = 1.11.0 Affected: >= 1.10.0, < 1.10.2 Affected: >= 1.9.0, < 1.9.2 Affected: = 1.8.0 Affected: >= 1.7.0, < 1.7.2 Affected: = 1.6.0 Affected: = 1.5.0 Affected: = 1.4.0 Affected: = 1.3.0 Affected: >= 1.2.0, < 1.2.8 Affected: >= 1.1.0, < 1.1.2 Affected: < 1.0.1 |
{
"containers": {
"adp": [
{
"providerMetadata": {
"dateUpdated": "2024-08-02T01:32:06.308Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"name": "https://github.com/solana-labs/solana-web3.js/security/advisories/GHSA-8m45-2rjm-j347",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
],
"url": "https://github.com/solana-labs/solana-web3.js/security/advisories/GHSA-8m45-2rjm-j347"
},
{
"name": "https://github.com/solana-labs/solana-web3.js/commit/77d935221a4805107b20b60ae7c1148725e4e2d0",
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://github.com/solana-labs/solana-web3.js/commit/77d935221a4805107b20b60ae7c1148725e4e2d0"
}
],
"title": "CVE Program Container"
},
{
"affected": [
{
"cpes": [
"cpe:2.3:a:solanalabs:web3:*:*:*:*:*:*:*:*"
],
"defaultStatus": "unknown",
"product": "web3",
"vendor": "solanalabs",
"versions": [
{
"lessThan": "1.91.3",
"status": "affected",
"version": "1.91.0",
"versionType": "custom"
},
{
"lessThan": "1.90.2",
"status": "affected",
"version": "1.90",
"versionType": "custom"
},
{
"lessThan": "1.89.2",
"status": "affected",
"version": "1.89",
"versionType": "custom"
},
{
"status": "affected",
"version": "1.88.0"
},
{
"lessThan": "1.87.7",
"status": "affected",
"version": "1.87.0",
"versionType": "custom"
},
{
"status": "affected",
"version": "1.86.0"
},
{
"status": "affected",
"version": "1.85.0"
},
{
"status": "affected",
"version": "1.84.0"
},
{
"status": "affected",
"version": "1.83.0"
},
{
"status": "affected",
"version": "1.82.0"
},
{
"status": "affected",
"version": "1.81.0"
},
{
"status": "affected",
"version": "1.80.0"
},
{
"status": "affected",
"version": "1.79.0"
},
{
"lessThan": "1.78.8",
"status": "affected",
"version": "1.78",
"versionType": "custom"
},
{
"lessThan": "1.77.4",
"status": "affected",
"version": "1.77",
"versionType": "custom"
},
{
"status": "affected",
"version": "1.76.0"
},
{
"status": "affected",
"version": "1.75.0"
},
{
"status": "affected",
"version": "1.74.0"
},
{
"lessThan": "1.73.5",
"status": "affected",
"version": "1.73.0",
"versionType": "custom"
},
{
"status": "affected",
"version": "1.72.0"
},
{
"status": "affected",
"version": "1.71.0"
},
{
"lessThan": "1.70.4",
"status": "affected",
"version": "1.70.0",
"versionType": "custom"
},
{
"status": "affected",
"version": "1.69.0"
},
{
"lessThan": "1.68.2",
"status": "affected",
"version": "1.68.0",
"versionType": "custom"
},
{
"lessThan": "1.67.3",
"status": "affected",
"version": "1.67.0",
"versionType": "custom"
},
{
"lessThan": "1.66.6",
"status": "affected",
"version": "1.66.0",
"versionType": "custom"
},
{
"status": "affected",
"version": "1.65.0"
},
{
"status": "affected",
"version": "1.64.0"
},
{
"lessThan": "1.63.2",
"status": "affected",
"version": "1.63.0",
"versionType": "custom"
},
{
"lessThan": "1.62.2",
"status": "affected",
"version": "1.62.0",
"versionType": "custom"
},
{
"lessThan": "1.61.2",
"status": "affected",
"version": "1.61.0",
"versionType": "custom"
},
{
"status": "affected",
"version": "1.60.0"
},
{
"lessThan": "1.59.2",
"status": "affected",
"version": "1.59.0",
"versionType": "custom"
},
{
"status": "affected",
"version": "1.58.0"
},
{
"status": "affected",
"version": "1.57.0"
},
{
"lessThan": "1.56.3",
"status": "affected",
"version": "1.56.0",
"versionType": "custom"
},
{
"status": "affected",
"version": "1.55.0"
},
{
"lessThan": "1.54.2",
"status": "affected",
"version": "1.54.0",
"versionType": "custom"
},
{
"status": "affected",
"version": "1.53.0"
},
{
"status": "affected",
"version": "1.52.0"
},
{
"status": "affected",
"version": "1.51.0"
},
{
"lessThan": "1.50.2",
"status": "affected",
"version": "1.50.0",
"versionType": "custom"
},
{
"status": "affected",
"version": "1.49.0"
},
{
"status": "affected",
"version": "1.48.0"
},
{
"lessThan": "1.47.5",
"status": "affected",
"version": "1.47.0",
"versionType": "custom"
},
{
"status": "affected",
"version": "1.46.0"
},
{
"status": "affected",
"version": "1.45.0"
},
{
"lessThan": "1.44.4",
"status": "affected",
"version": "1.44.0",
"versionType": "custom"
},
{
"lessThan": "1.43.7",
"status": "affected",
"version": "1.43.0",
"versionType": "custom"
},
{
"status": "affected",
"version": "1.42.0"
},
{
"lessThan": "1.41.11",
"status": "affected",
"version": "1.41.0",
"versionType": "custom"
},
{
"lessThan": "1.40.2",
"status": "affected",
"version": "1.40.0",
"versionType": "custom"
},
{
"lessThan": "1.39.2",
"status": "affected",
"version": "1.39.0",
"versionType": "custom"
},
{
"status": "affected",
"version": "1.38.0"
},
{
"lessThan": "1.37.3",
"status": "affected",
"version": "1.37.0",
"versionType": "custom"
},
{
"status": "affected",
"version": "1.36.0"
},
{
"lessThan": "1.35.2",
"status": "affected",
"version": "1.35.0",
"versionType": "custom"
},
{
"status": "affected",
"version": "1.34.0"
},
{
"status": "affected",
"version": "1.33.0"
},
{
"lessThan": "1.32.2",
"status": "affected",
"version": "1.32.0",
"versionType": "custom"
},
{
"status": "affected",
"version": "1.31.0"
},
{
"lessThan": "1.30.3",
"status": "affected",
"version": "1.30.0",
"versionType": "custom"
},
{
"lessThan": "1.29.4",
"status": "affected",
"version": "1.29.0",
"versionType": "custom"
},
{
"status": "affected",
"version": "1.28.0"
},
{
"status": "affected",
"version": "1.27.0"
},
{
"status": "affected",
"version": "1.26.0"
},
{
"status": "affected",
"version": "1.25.0"
},
{
"lessThan": "1.24.3",
"status": "affected",
"version": "1.24.0",
"versionType": "custom"
},
{
"status": "affected",
"version": "1.23.0"
},
{
"status": "affected",
"version": "1.22.0"
},
{
"status": "affected",
"version": "1.21.0"
},
{
"lessThan": "1.20.3",
"status": "affected",
"version": "1.20.0",
"versionType": "custom"
},
{
"status": "affected",
"version": "1.19.0"
},
{
"status": "affected",
"version": "1.18.0"
},
{
"status": "affected",
"version": "1.17.0"
},
{
"lessThan": "1.16.2",
"status": "affected",
"version": "1.16.0",
"versionType": "custom"
},
{
"status": "affected",
"version": "1.15.0"
},
{
"status": "affected",
"version": "1.14.0"
},
{
"status": "affected",
"version": "1.13.0"
},
{
"status": "affected",
"version": "1.12.0"
},
{
"status": "affected",
"version": "1.11.0"
},
{
"lessThan": "1.10.2",
"status": "affected",
"version": "1.10.0",
"versionType": "custom"
},
{
"lessThan": "1.9.2",
"status": "affected",
"version": "1.9.0",
"versionType": "custom"
},
{
"status": "affected",
"version": "1.8.0"
},
{
"lessThan": "1.7.2",
"status": "affected",
"version": "1.7.0",
"versionType": "custom"
},
{
"status": "affected",
"version": "1.6.0"
},
{
"status": "affected",
"version": "1.5.0"
},
{
"status": "affected",
"version": "1.4.0"
},
{
"status": "affected",
"version": "1.3.0"
},
{
"lessThan": "1.2.8",
"status": "affected",
"version": "1.2.0",
"versionType": "custom"
},
{
"lessThan": "1.1.2",
"status": "affected",
"version": "1.1.0",
"versionType": "custom"
},
{
"lessThan": "1.0.1",
"status": "affected",
"version": "0",
"versionType": "custom"
}
]
}
],
"metrics": [
{
"other": {
"content": {
"id": "CVE-2024-30253",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-08-21T14:18:35.271487Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2024-08-21T15:05:27.101Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "solana-web3.js",
"vendor": "solana-labs",
"versions": [
{
"status": "affected",
"version": "\u003e= 1.91.0, \u003c 1.91.3"
},
{
"status": "affected",
"version": "\u003e= 1.90, \u003c 1.90.2"
},
{
"status": "affected",
"version": "\u003e= 1.89, \u003c 1.89.2"
},
{
"status": "affected",
"version": "= 1.88.0"
},
{
"status": "affected",
"version": "\u003e=1.87.0, \u003c 1.87.7"
},
{
"status": "affected",
"version": "= 1.86.0"
},
{
"status": "affected",
"version": "= 1.85.0"
},
{
"status": "affected",
"version": "= 1.84.0"
},
{
"status": "affected",
"version": "= 1.83.0"
},
{
"status": "affected",
"version": "= 1.82.0"
},
{
"status": "affected",
"version": "= 1.81.0"
},
{
"status": "affected",
"version": "= 1.80.0"
},
{
"status": "affected",
"version": "= 1.79.0"
},
{
"status": "affected",
"version": "\u003e= 1.78, \u003c 1.78.8"
},
{
"status": "affected",
"version": "\u003e= 1.77, \u003c 1.77.4"
},
{
"status": "affected",
"version": "= 1.76.0"
},
{
"status": "affected",
"version": "= 1.75.0"
},
{
"status": "affected",
"version": "= 1.74.0"
},
{
"status": "affected",
"version": "\u003e= 1.73.0, \u003c 1.73.5"
},
{
"status": "affected",
"version": "= 1.72.0"
},
{
"status": "affected",
"version": "= 1.71.0"
},
{
"status": "affected",
"version": "\u003e= 1.70.0, \u003c 1.70.4"
},
{
"status": "affected",
"version": "= 1.69.0"
},
{
"status": "affected",
"version": "\u003e= 1.68.0, \u003c 1.68.2"
},
{
"status": "affected",
"version": "\u003e= 1.67.0, \u003c 1.67.3"
},
{
"status": "affected",
"version": "\u003e= 1.66.0, \u003c 1.66.6"
},
{
"status": "affected",
"version": "= 1.65.0"
},
{
"status": "affected",
"version": "= 1.64.0"
},
{
"status": "affected",
"version": "\u003e= 1.63.0, \u003c 1.63.2"
},
{
"status": "affected",
"version": "\u003e= 1.62.0, \u003c 1.62.2"
},
{
"status": "affected",
"version": "\u003e= 1.61.0, \u003c 1.61.2"
},
{
"status": "affected",
"version": "= 1.60.0"
},
{
"status": "affected",
"version": "\u003e= 1.59.0, \u003c 1.59.2"
},
{
"status": "affected",
"version": "= 1.58.0"
},
{
"status": "affected",
"version": "= 1.57.0"
},
{
"status": "affected",
"version": "\u003e= 1.56.0, \u003c 1.56.3"
},
{
"status": "affected",
"version": "= 1.55.0"
},
{
"status": "affected",
"version": "\u003e= 1.54.0, \u003c 1.54.2"
},
{
"status": "affected",
"version": "= 1.53.0"
},
{
"status": "affected",
"version": "= 1.52.0"
},
{
"status": "affected",
"version": "= 1.51.0"
},
{
"status": "affected",
"version": "\u003e= 1.50.0, \u003c 1.50.2"
},
{
"status": "affected",
"version": "= 1.49.0"
},
{
"status": "affected",
"version": "= 1.48.0"
},
{
"status": "affected",
"version": "\u003e= 1.47.0, \u003c 1.47.5"
},
{
"status": "affected",
"version": "= 1.46.0"
},
{
"status": "affected",
"version": "= 1.45.0"
},
{
"status": "affected",
"version": "\u003e= 1.44.0, \u003c 1.44.4"
},
{
"status": "affected",
"version": "\u003e= 1.43.0, \u003c 1.43.7"
},
{
"status": "affected",
"version": "= 1.42.0"
},
{
"status": "affected",
"version": "\u003e= 1.41.0, \u003c 1.41.11"
},
{
"status": "affected",
"version": "\u003e= 1.40.0, \u003c 1.40.2"
},
{
"status": "affected",
"version": "\u003e= 1.39.0, \u003c 1.39.2"
},
{
"status": "affected",
"version": "= 1.38.0"
},
{
"status": "affected",
"version": "\u003e= 1.37.0, \u003c 1.37.3"
},
{
"status": "affected",
"version": "= 1.36.0"
},
{
"status": "affected",
"version": "\u003e= 1.35.0, \u003c 1.35.2"
},
{
"status": "affected",
"version": "= 1.34.0"
},
{
"status": "affected",
"version": "= 1.33.0"
},
{
"status": "affected",
"version": "\u003e= 1.32.0, \u003c 1.32.2"
},
{
"status": "affected",
"version": "= 1.31.0"
},
{
"status": "affected",
"version": "\u003e= 1.30.0, \u003c 1.30.3"
},
{
"status": "affected",
"version": "\u003e= 1.29.0, \u003c 1.29.4"
},
{
"status": "affected",
"version": "= 1.28.0"
},
{
"status": "affected",
"version": "= 1.27.0"
},
{
"status": "affected",
"version": "= 1.26.0"
},
{
"status": "affected",
"version": "= 1.25.0"
},
{
"status": "affected",
"version": "\u003e= 1.24.0, \u003c 1.24.3"
},
{
"status": "affected",
"version": "= 1.23.0"
},
{
"status": "affected",
"version": "= 1.22.0"
},
{
"status": "affected",
"version": "= 1.21.0"
},
{
"status": "affected",
"version": "\u003e= 1.20.0, \u003c 1.20.3"
},
{
"status": "affected",
"version": "= 1.19.0"
},
{
"status": "affected",
"version": "= 1.18.0"
},
{
"status": "affected",
"version": "= 1.17.0"
},
{
"status": "affected",
"version": "\u003e= 1.16.0, \u003c 1.16.2"
},
{
"status": "affected",
"version": "= 1.15.0"
},
{
"status": "affected",
"version": "= 1.14.0"
},
{
"status": "affected",
"version": "= 1.13.0"
},
{
"status": "affected",
"version": "= 1.12.0"
},
{
"status": "affected",
"version": "= 1.11.0"
},
{
"status": "affected",
"version": "\u003e= 1.10.0, \u003c 1.10.2"
},
{
"status": "affected",
"version": " \u003e= 1.9.0, \u003c 1.9.2"
},
{
"status": "affected",
"version": "= 1.8.0"
},
{
"status": "affected",
"version": "\u003e= 1.7.0, \u003c 1.7.2"
},
{
"status": "affected",
"version": "= 1.6.0"
},
{
"status": "affected",
"version": "= 1.5.0"
},
{
"status": "affected",
"version": "= 1.4.0"
},
{
"status": "affected",
"version": "= 1.3.0"
},
{
"status": "affected",
"version": "\u003e= 1.2.0, \u003c 1.2.8"
},
{
"status": "affected",
"version": "\u003e= 1.1.0, \u003c 1.1.2"
},
{
"status": "affected",
"version": "\u003c 1.0.1"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "@solana/web3.js is the Solana JavaScript SDK. Using particular inputs with `@solana/web3.js` will result in memory exhaustion (OOM). If you have a server, client, mobile, or desktop product that accepts untrusted input for use with `@solana/web3.js`, your application/service may crash, resulting in a loss of availability. This vulnerability is fixed in 1.0.1, 1.10.2, 1.11.1, 1.12.1, 1.1.2, 1.13.1, 1.14.1, 1.15.1, 1.16.2, 1.17.1, 1.18.1, 1.19.1, 1.20.3, 1.21.1, 1.22.1, 1.23.1, 1.24.3, 1.25.1, 1.26.1, 1.27.1, 1.28.1, 1.2.8, 1.29.4, 1.30.3, 1.31.1, 1.3.1, 1.32.3, 1.33.1, 1.34.1, 1.35.2, 1.36.1, 1.37.3, 1.38.1, 1.39.2, 1.40.2, 1.41.11, 1.4.1, 1.42.1, 1.43.7, 1.44.4, 1.45.1, 1.46.1, 1.47.5, 1.48.1, 1.49.1, 1.50.2, 1.51.1, 1.5.1, 1.52.1, 1.53.1, 1.54.2, 1.55.1, 1.56.3, 1.57.1, 1.58.1, 1.59.2, 1.60.1, 1.61.2, 1.6.1, 1.62.2, 1.63.2, 1.64.1, 1.65.1, 1.66.6, 1.67.3, 1.68.2, 1.69.1, 1.70.4, 1.71.1, 1.72.1, 1.7.2, 1.73.5, 1.74.1, 1.75.1, 1.76.1, 1.77.4, 1.78.8, 1.79.1, 1.80.1, 1.81.1, 1.8.1, 1.82.1, 1.83.1, 1.84.1, 1.85.1, 1.86.1, 1.87.7, 1.88.1, 1.89.2, 1.90.2, 1.9.2, and 1.91.3."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-119",
"description": "CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2024-04-17T19:48:46.105Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/solana-labs/solana-web3.js/security/advisories/GHSA-8m45-2rjm-j347",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/solana-labs/solana-web3.js/security/advisories/GHSA-8m45-2rjm-j347"
},
{
"name": "https://github.com/solana-labs/solana-web3.js/commit/77d935221a4805107b20b60ae7c1148725e4e2d0",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/solana-labs/solana-web3.js/commit/77d935221a4805107b20b60ae7c1148725e4e2d0"
}
],
"source": {
"advisory": "GHSA-8m45-2rjm-j347",
"discovery": "UNKNOWN"
},
"title": "Handling untrusted input can result in a crash, leading to loss of availability / denial of service"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2024-30253",
"datePublished": "2024-04-17T15:07:27.546Z",
"dateReserved": "2024-03-26T12:52:00.933Z",
"dateUpdated": "2024-08-21T15:05:27.101Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}
CVE-2022-35917 (GCVE-0-2022-35917)
Vulnerability from cvelistv5 – Published: 2022-08-01 21:10 – Updated: 2025-04-23 17:54
VLAI?
Summary
Solana Pay is a protocol and set of reference implementations that enable developers to incorporate decentralized payments into their apps and services. When a Solana Pay transaction is located using a reference key, it may be checked to represent a transfer of the desired amount to the recipient, using the supplied `validateTransfer` function. An edge case regarding this mechanism could cause the validation logic to validate multiple transfers. This issue has been patched as of version `0.2.1`. Users of the Solana Pay SDK should upgrade to it. There are no known workarounds for this issue.
Severity ?
5.3 (Medium)
CWE
- CWE-670 - Always-Incorrect Control Flow Implementation
Assigner
References
| URL | Tags | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| solana-labs | solana-pay |
Affected:
< 0.2.1
|
{
"containers": {
"adp": [
{
"providerMetadata": {
"dateUpdated": "2024-08-03T09:51:58.604Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
],
"url": "https://github.com/solana-labs/solana-pay/security/advisories/GHSA-j47c-j42c-mwqq"
},
{
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://github.com/solana-labs/solana-pay/commit/ac6ce0d0a81137700874a8bf5a7caac3be999fad"
},
{
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://github.com/solana-labs/solana-pay/blob/master/SPEC.md#reference"
},
{
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://github.com/solana-labs/solana-pay/blob/master/core/src/validateTransfer.ts"
}
],
"title": "CVE Program Container"
},
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2022-35917",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2025-04-23T15:52:35.047087Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2025-04-23T17:54:43.793Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "solana-pay",
"vendor": "solana-labs",
"versions": [
{
"status": "affected",
"version": "\u003c 0.2.1"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "Solana Pay is a protocol and set of reference implementations that enable developers to incorporate decentralized payments into their apps and services. When a Solana Pay transaction is located using a reference key, it may be checked to represent a transfer of the desired amount to the recipient, using the supplied `validateTransfer` function. An edge case regarding this mechanism could cause the validation logic to validate multiple transfers. This issue has been patched as of version `0.2.1`. Users of the Solana Pay SDK should upgrade to it. There are no known workarounds for this issue."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 5.3,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "NONE",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-670",
"description": "CWE-670: Always-Incorrect Control Flow Implementation",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2022-08-01T21:10:11.000Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/solana-labs/solana-pay/security/advisories/GHSA-j47c-j42c-mwqq"
},
{
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/solana-labs/solana-pay/commit/ac6ce0d0a81137700874a8bf5a7caac3be999fad"
},
{
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/solana-labs/solana-pay/blob/master/SPEC.md#reference"
},
{
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/solana-labs/solana-pay/blob/master/core/src/validateTransfer.ts"
}
],
"source": {
"advisory": "GHSA-j47c-j42c-mwqq",
"discovery": "UNKNOWN"
},
"title": "Weakness in Transfer Validation Logic in @solana/pay",
"x_legacyV4Record": {
"CVE_data_meta": {
"ASSIGNER": "security-advisories@github.com",
"ID": "CVE-2022-35917",
"STATE": "PUBLIC",
"TITLE": "Weakness in Transfer Validation Logic in @solana/pay"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "solana-pay",
"version": {
"version_data": [
{
"version_value": "\u003c 0.2.1"
}
]
}
}
]
},
"vendor_name": "solana-labs"
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "Solana Pay is a protocol and set of reference implementations that enable developers to incorporate decentralized payments into their apps and services. When a Solana Pay transaction is located using a reference key, it may be checked to represent a transfer of the desired amount to the recipient, using the supplied `validateTransfer` function. An edge case regarding this mechanism could cause the validation logic to validate multiple transfers. This issue has been patched as of version `0.2.1`. Users of the Solana Pay SDK should upgrade to it. There are no known workarounds for this issue."
}
]
},
"impact": {
"cvss": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 5.3,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "NONE",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
"version": "3.1"
}
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "CWE-670: Always-Incorrect Control Flow Implementation"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/solana-labs/solana-pay/security/advisories/GHSA-j47c-j42c-mwqq",
"refsource": "CONFIRM",
"url": "https://github.com/solana-labs/solana-pay/security/advisories/GHSA-j47c-j42c-mwqq"
},
{
"name": "https://github.com/solana-labs/solana-pay/commit/ac6ce0d0a81137700874a8bf5a7caac3be999fad",
"refsource": "MISC",
"url": "https://github.com/solana-labs/solana-pay/commit/ac6ce0d0a81137700874a8bf5a7caac3be999fad"
},
{
"name": "https://github.com/solana-labs/solana-pay/blob/master/SPEC.md#reference",
"refsource": "MISC",
"url": "https://github.com/solana-labs/solana-pay/blob/master/SPEC.md#reference"
},
{
"name": "https://github.com/solana-labs/solana-pay/blob/master/core/src/validateTransfer.ts",
"refsource": "MISC",
"url": "https://github.com/solana-labs/solana-pay/blob/master/core/src/validateTransfer.ts"
}
]
},
"source": {
"advisory": "GHSA-j47c-j42c-mwqq",
"discovery": "UNKNOWN"
}
}
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2022-35917",
"datePublished": "2022-08-01T21:10:11.000Z",
"dateReserved": "2022-07-15T00:00:00.000Z",
"dateUpdated": "2025-04-23T17:54:43.793Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}
CVE-2022-23066 (GCVE-0-2022-23066)
Vulnerability from cvelistv5 – Published: 2022-05-09 06:25 – Updated: 2024-09-16 17:53
VLAI?
Summary
In Solana rBPF versions 0.2.26 and 0.2.27 are affected by Incorrect Calculation which is caused by improper implementation of sdiv instruction. This can lead to the wrong execution path, resulting in huge loss in specific cases. For example, the result of a sdiv instruction may decide whether to transfer tokens or not. The vulnerability affects both integrity and may cause serious availability problems.
Severity ?
9.1 (Critical)
CWE
- CWE-682 - Incorrect Calculation
Assigner
References
| URL | Tags | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| solana-labs | rbpf |
Affected:
0.2.26 , < unspecified
(custom)
Affected: unspecified , ≤ 0.2.27 (custom) |
Credits
BlockSec
{
"containers": {
"adp": [
{
"providerMetadata": {
"dateUpdated": "2024-08-03T03:28:43.277Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://github.com/solana-labs/rbpf/commit/e61e045f8c244de978401d186dcfd50838817297"
},
{
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://www.whitesourcesoftware.com/vulnerability-database/CVE-2022-23066"
},
{
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://blocksecteam.medium.com/how-a-critical-bug-in-solana-network-was-detected-and-timely-patched-a701870e1324"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"product": "rbpf",
"vendor": "solana-labs",
"versions": [
{
"lessThan": "unspecified",
"status": "affected",
"version": "0.2.26",
"versionType": "custom"
},
{
"lessThanOrEqual": "0.2.27",
"status": "affected",
"version": "unspecified",
"versionType": "custom"
}
]
}
],
"credits": [
{
"lang": "en",
"value": "BlockSec"
}
],
"datePublic": "2022-05-08T00:00:00",
"descriptions": [
{
"lang": "en",
"value": "In Solana rBPF versions 0.2.26 and 0.2.27 are affected by Incorrect Calculation which is caused by improper implementation of sdiv instruction. This can lead to the wrong execution path, resulting in huge loss in specific cases. For example, the result of a sdiv instruction may decide whether to transfer tokens or not. The vulnerability affects both integrity and may cause serious availability problems."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 9.1,
"baseSeverity": "CRITICAL",
"confidentialityImpact": "NONE",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-682",
"description": "CWE-682 Incorrect Calculation",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2022-06-12T13:20:08",
"orgId": "478c68dd-22c1-4a41-97cd-654224dfacff",
"shortName": "Mend"
},
"references": [
{
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/solana-labs/rbpf/commit/e61e045f8c244de978401d186dcfd50838817297"
},
{
"tags": [
"x_refsource_MISC"
],
"url": "https://www.whitesourcesoftware.com/vulnerability-database/CVE-2022-23066"
},
{
"tags": [
"x_refsource_MISC"
],
"url": "https://blocksecteam.medium.com/how-a-critical-bug-in-solana-network-was-detected-and-timely-patched-a701870e1324"
}
],
"solutions": [
{
"lang": "en",
"value": "Upgrade version to 0.2.28 or higher"
}
],
"source": {
"advisory": "https://www.whitesourcesoftware.com/vulnerability-database/",
"discovery": "UNKNOWN"
},
"title": "Solana rBPF - Incorrect Calculation in sdiv instruction",
"x_generator": {
"engine": "Vulnogram 0.0.9"
},
"x_legacyV4Record": {
"CVE_data_meta": {
"ASSIGNER": "vulnerabilitylab@whitesourcesoftware.com",
"DATE_PUBLIC": "2022-05-08T14:15:00.000Z",
"ID": "CVE-2022-23066",
"STATE": "PUBLIC",
"TITLE": "Solana rBPF - Incorrect Calculation in sdiv instruction"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "rbpf",
"version": {
"version_data": [
{
"version_affected": "\u003e=",
"version_value": "0.2.26"
},
{
"version_affected": "\u003c=",
"version_value": "0.2.27"
}
]
}
}
]
},
"vendor_name": "solana-labs"
}
]
}
},
"credit": [
{
"lang": "eng",
"value": "BlockSec"
}
],
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "In Solana rBPF versions 0.2.26 and 0.2.27 are affected by Incorrect Calculation which is caused by improper implementation of sdiv instruction. This can lead to the wrong execution path, resulting in huge loss in specific cases. For example, the result of a sdiv instruction may decide whether to transfer tokens or not. The vulnerability affects both integrity and may cause serious availability problems."
}
]
},
"generator": {
"engine": "Vulnogram 0.0.9"
},
"impact": {
"cvss": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 9.1,
"baseSeverity": "CRITICAL",
"confidentialityImpact": "NONE",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H",
"version": "3.1"
}
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "CWE-682 Incorrect Calculation"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/solana-labs/rbpf/commit/e61e045f8c244de978401d186dcfd50838817297",
"refsource": "MISC",
"url": "https://github.com/solana-labs/rbpf/commit/e61e045f8c244de978401d186dcfd50838817297"
},
{
"name": "https://www.whitesourcesoftware.com/vulnerability-database/CVE-2022-23066",
"refsource": "MISC",
"url": "https://www.whitesourcesoftware.com/vulnerability-database/CVE-2022-23066"
},
{
"name": "https://blocksecteam.medium.com/how-a-critical-bug-in-solana-network-was-detected-and-timely-patched-a701870e1324",
"refsource": "MISC",
"url": "https://blocksecteam.medium.com/how-a-critical-bug-in-solana-network-was-detected-and-timely-patched-a701870e1324"
}
]
},
"solution": [
{
"lang": "en",
"value": "Upgrade version to 0.2.28 or higher"
}
],
"source": {
"advisory": "https://www.whitesourcesoftware.com/vulnerability-database/",
"discovery": "UNKNOWN"
}
}
}
},
"cveMetadata": {
"assignerOrgId": "478c68dd-22c1-4a41-97cd-654224dfacff",
"assignerShortName": "Mend",
"cveId": "CVE-2022-23066",
"datePublished": "2022-05-09T06:25:09.088116Z",
"dateReserved": "2022-01-10T00:00:00",
"dateUpdated": "2024-09-16T17:53:00.981Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}