{"answers":{"affected":"40 open source packages ship an affected version, including @solana/web3.js.","exploited":"There is no known exploitation of CVE-2024-30253 in the wild and no public exploit code.","fix":"Upgrade @solana/web3.js to a fixed version for your release line: 1.0.1, 1.1.2, 1.10.2 or 1.11.1.","what":"CVE-2024-30253 is a high-severity denial of service vulnerability in solana-labs solana-web3.js, published on 17 Apr 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-30253 and fix it if it is affected.\n\nWhat it is: CVE-2024-30253 is a high-severity denial of service vulnerability in solana-labs solana-web3.js, published on 17 Apr 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-30253 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @solana/web3.js (npm): affected all versions; fixed in 1.0.1\n- @solana/web3.js (npm): affected all versions; fixed in 1.0.1\n- @solana/web3.js (npm): affected from 1.1.0; fixed in 1.1.2\n- @solana/web3.js (npm): affected from 1.1.0; fixed in 1.1.2\n- @solana/web3.js (npm): affected from 1.10.0; fixed in 1.10.2\n- @solana/web3.js (npm): affected from 1.10.0; fixed in 1.10.2\n- @solana/web3.js (npm): affected from 1.11.0; fixed in 1.11.1\n- @solana/web3.js (npm): affected from 1.11.0; fixed in 1.11.1\n- @solana/web3.js (npm): affected from 1.12.0; fixed in 1.12.1\n- @solana/web3.js (npm): affected from 1.12.0; fixed in 1.12.1\n- @solana/web3.js (npm): affected from 1.13.0; fixed in 1.13.1\n- @solana/web3.js (npm): affected from 1.13.0; fixed in 1.13.1\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-30253/ (Markdown: https://insights.sbomify.com/CVE-2024-30253/index.md)","id":"CVE-2024-30253","markdown":"https://insights.sbomify.com/CVE-2024-30253/index.md","name":"CVE-2024-30253","record":{"aliases":["GHSA-8m45-2rjm-j347"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Solana JavaScript SDK","requires_auth":"none","summary":"Attackers can cause memory exhaustion and application crashes by providing specific untrusted inputs to the Solana JavaScript SDK.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"description":"@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.","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":"Handling untrusted input can result in a crash, leading to loss of availability / denial of service","id":"CVE-2024-30253","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"denial_of_service","year":"2024"},"n_packages":184,"n_references":2,"next":{"headline":"Directory traversal allowing overwriting arbitrary files","id":"CVE-2024-30254"},"packages":[{"ecosystem":"npm","fixed":["1.0.1"],"introduced":["0"],"last_affected":[],"package":"@solana/web3.js","purl":null,"source":"GHSA-8m45-2rjm-j347"},{"ecosystem":"npm","fixed":["1.0.1"],"introduced":["0"],"last_affected":[],"package":"@solana/web3.js","purl":"pkg:npm/%40solana/web3.js","source":"GHSA-8m45-2rjm-j347"},{"ecosystem":"npm","fixed":["1.1.2"],"introduced":["1.1.0"],"last_affected":[],"package":"@solana/web3.js","purl":null,"source":"GHSA-8m45-2rjm-j347"},{"ecosystem":"npm","fixed":["1.1.2"],"introduced":["1.1.0"],"last_affected":[],"package":"@solana/web3.js","purl":"pkg:npm/%40solana/web3.js","source":"GHSA-8m45-2rjm-j347"},{"ecosystem":"npm","fixed":["1.10.2"],"introduced":["1.10.0"],"last_affected":[],"package":"@solana/web3.js","purl":null,"source":"GHSA-8m45-2rjm-j347"},{"ecosystem":"npm","fixed":["1.10.2"],"introduced":["1.10.0"],"last_affected":[],"package":"@solana/web3.js","purl":"pkg:npm/%40solana/web3.js","source":"GHSA-8m45-2rjm-j347"},{"ecosystem":"npm","fixed":["1.11.1"],"introduced":["1.11.0"],"last_affected":[],"package":"@solana/web3.js","purl":null,"source":"GHSA-8m45-2rjm-j347"},{"ecosystem":"npm","fixed":["1.11.1"],"introduced":["1.11.0"],"last_affected":[],"package":"@solana/web3.js","purl":"pkg:npm/%40solana/web3.js","source":"GHSA-8m45-2rjm-j347"},{"ecosystem":"npm","fixed":["1.12.1"],"introduced":["1.12.0"],"last_affected":[],"package":"@solana/web3.js","purl":null,"source":"GHSA-8m45-2rjm-j347"},{"ecosystem":"npm","fixed":["1.12.1"],"introduced":["1.12.0"],"last_affected":[],"package":"@solana/web3.js","purl":"pkg:npm/%40solana/web3.js","source":"GHSA-8m45-2rjm-j347"},{"ecosystem":"npm","fixed":["1.13.1"],"introduced":["1.13.0"],"last_affected":[],"package":"@solana/web3.js","purl":null,"source":"GHSA-8m45-2rjm-j347"},{"ecosystem":"npm","fixed":["1.13.1"],"introduced":["1.13.0"],"last_affected":[],"package":"@solana/web3.js","purl":"pkg:npm/%40solana/web3.js","source":"GHSA-8m45-2rjm-j347"},{"ecosystem":"npm","fixed":["1.14.1"],"introduced":["1.14.0"],"last_affected":[],"package":"@solana/web3.js","purl":null,"source":"GHSA-8m45-2rjm-j347"},{"ecosystem":"npm","fixed":["1.14.1"],"introduced":["1.14.0"],"last_affected":[],"package":"@solana/web3.js","purl":"pkg:npm/%40solana/web3.js","source":"GHSA-8m45-2rjm-j347"},{"ecosystem":"npm","fixed":["1.15.1"],"introduced":["1.15.0"],"last_affected":[],"package":"@solana/web3.js","purl":null,"source":"GHSA-8m45-2rjm-j347"},{"ecosystem":"npm","fixed":["1.15.1"],"introduced":["1.15.0"],"last_affected":[],"package":"@solana/web3.js","purl":"pkg:npm/%40solana/web3.js","source":"GHSA-8m45-2rjm-j347"},{"ecosystem":"npm","fixed":["1.16.2"],"introduced":["1.16.0"],"last_affected":[],"package":"@solana/web3.js","purl":null,"source":"GHSA-8m45-2rjm-j347"},{"ecosystem":"npm","fixed":["1.16.2"],"introduced":["1.16.0"],"last_affected":[],"package":"@solana/web3.js","purl":"pkg:npm/%40solana/web3.js","source":"GHSA-8m45-2rjm-j347"},{"ecosystem":"npm","fixed":["1.17.1"],"introduced":["1.17.0"],"last_affected":[],"package":"@solana/web3.js","purl":null,"source":"GHSA-8m45-2rjm-j347"},{"ecosystem":"npm","fixed":["1.17.1"],"introduced":["1.17.0"],"last_affected":[],"package":"@solana/web3.js","purl":"pkg:npm/%40solana/web3.js","source":"GHSA-8m45-2rjm-j347"},{"ecosystem":"npm","fixed":["1.18.1"],"introduced":["1.18.0"],"last_affected":[],"package":"@solana/web3.js","purl":null,"source":"GHSA-8m45-2rjm-j347"},{"ecosystem":"npm","fixed":["1.18.1"],"introduced":["1.18.0"],"last_affected":[],"package":"@solana/web3.js","purl":"pkg:npm/%40solana/web3.js","source":"GHSA-8m45-2rjm-j347"},{"ecosystem":"npm","fixed":["1.19.1"],"introduced":["1.19.0"],"last_affected":[],"package":"@solana/web3.js","purl":null,"source":"GHSA-8m45-2rjm-j347"},{"ecosystem":"npm","fixed":["1.19.1"],"introduced":["1.19.0"],"last_affected":[],"package":"@solana/web3.js","purl":"pkg:npm/%40solana/web3.js","source":"GHSA-8m45-2rjm-j347"},{"ecosystem":"npm","fixed":["1.2.8"],"introduced":["1.2.0"],"last_affected":[],"package":"@solana/web3.js","purl":null,"source":"GHSA-8m45-2rjm-j347"},{"ecosystem":"npm","fixed":["1.2.8"],"introduced":["1.2.0"],"last_affected":[],"package":"@solana/web3.js","purl":"pkg:npm/%40solana/web3.js","source":"GHSA-8m45-2rjm-j347"},{"ecosystem":"npm","fixed":["1.20.3"],"introduced":["1.20.0"],"last_affected":[],"package":"@solana/web3.js","purl":null,"source":"GHSA-8m45-2rjm-j347"},{"ecosystem":"npm","fixed":["1.20.3"],"introduced":["1.20.0"],"last_affected":[],"package":"@solana/web3.js","purl":"pkg:npm/%40solana/web3.js","source":"GHSA-8m45-2rjm-j347"},{"ecosystem":"npm","fixed":["1.21.1"],"introduced":["1.21.0"],"last_affected":[],"package":"@solana/web3.js","purl":null,"source":"GHSA-8m45-2rjm-j347"},{"ecosystem":"npm","fixed":["1.21.1"],"introduced":["1.21.0"],"last_affected":[],"package":"@solana/web3.js","purl":"pkg:npm/%40solana/web3.js","source":"GHSA-8m45-2rjm-j347"},{"ecosystem":"npm","fixed":["1.22.1"],"introduced":["1.22.0"],"last_affected":[],"package":"@solana/web3.js","purl":null,"source":"GHSA-8m45-2rjm-j347"},{"ecosystem":"npm","fixed":["1.22.1"],"introduced":["1.22.0"],"last_affected":[],"package":"@solana/web3.js","purl":"pkg:npm/%40solana/web3.js","source":"GHSA-8m45-2rjm-j347"},{"ecosystem":"npm","fixed":["1.23.1"],"introduced":["1.23.0"],"last_affected":[],"package":"@solana/web3.js","purl":null,"source":"GHSA-8m45-2rjm-j347"},{"ecosystem":"npm","fixed":["1.23.1"],"introduced":["1.23.0"],"last_affected":[],"package":"@solana/web3.js","purl":"pkg:npm/%40solana/web3.js","source":"GHSA-8m45-2rjm-j347"},{"ecosystem":"npm","fixed":["1.24.3"],"introduced":["1.24.0"],"last_affected":[],"package":"@solana/web3.js","purl":null,"source":"GHSA-8m45-2rjm-j347"},{"ecosystem":"npm","fixed":["1.24.3"],"introduced":["1.24.0"],"last_affected":[],"package":"@solana/web3.js","purl":"pkg:npm/%40solana/web3.js","source":"GHSA-8m45-2rjm-j347"},{"ecosystem":"npm","fixed":["1.25.1"],"introduced":["1.25.0"],"last_affected":[],"package":"@solana/web3.js","purl":null,"source":"GHSA-8m45-2rjm-j347"},{"ecosystem":"npm","fixed":["1.25.1"],"introduced":["1.25.0"],"last_affected":[],"package":"@solana/web3.js","purl":"pkg:npm/%40solana/web3.js","source":"GHSA-8m45-2rjm-j347"},{"ecosystem":"npm","fixed":["1.26.1"],"introduced":["1.26.0"],"last_affected":[],"package":"@solana/web3.js","purl":null,"source":"GHSA-8m45-2rjm-j347"},{"ecosystem":"npm","fixed":["1.26.1"],"introduced":["1.26.0"],"last_affected":[],"package":"@solana/web3.js","purl":"pkg:npm/%40solana/web3.js","source":"GHSA-8m45-2rjm-j347"}],"prev":{"headline":"GitHub Security Lab (GHSL) Vulnerability Report, livemarks: `GHSL-2024-015`","id":"CVE-2024-30252"},"products":["solana-web3.js"],"published":"2024-04-17","related":[],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-21","vendors":["solana-labs"]},"summary":"Attackers can cause memory exhaustion and application crashes by providing specific untrusted inputs to the Solana JavaScript SDK.","url":"https://insights.sbomify.com/CVE-2024-30253/"}