GHSA-qr2g-p6q7-w82m x402 SDK Security Advisory
- Published
- Updated
- Exploit status
- No public exploit known
Description
Impact
A security vulnerability exists in outdated versions of the x402 SDK.
This vulnerability does not affect users' private keys, smart contracts, or funds.
The issue impacts resource servers accepting payments on Solana when the facilitator is running a vulnerable version of the x402 SDK.
Who Should Take Action
Facilitators that process payments on Solana must upgrade the x402 SDK to the patched versions listed below.
Clients are not required to upgrade.
Resource servers are not required to upgrade unless they operate their own facilitator (self-facilitate).
Patches
Please update to the following package versions:
- Npm: @x402/svm >= 2.6.0
- Pypi: x402 >= 2.3.0
- Go: x402 >= 2.5.0
Upgrade path
3 packages: 2 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| coinbase github.com/coinbase/x402/go(Go) | < 2.5.0; All versions | 2.5.0 | Partially fixed |
| pypi x402(PyPI) | < 2.3.0; = 0.1.0; = 0.1.1; = 0.1.2 +9 more | 2.3.0 | Fixed |
| x402 @x402/svm(npm) | < 2.6.0 | 2.6.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| x402 @x402/svm(npm) | < 2.6.0 | 2.6.0 |
| pypi x402(PyPI) | < 2.3.0 | 2.3.0 |
| pypi x402(PyPI) | = 0.1.0 | No fix listed |
| pypi x402(PyPI) | = 0.1.1 | No fix listed |
| pypi x402(PyPI) | = 0.1.2 | No fix listed |
| pypi x402(PyPI) | = 0.1.4 | No fix listed |
| pypi x402(PyPI) | = 0.1.5 | No fix listed |
| pypi x402(PyPI) | = 0.2.0 | No fix listed |
| pypi x402(PyPI) | = 0.2.1 | No fix listed |
| pypi x402(PyPI) | = 0.3.0 | No fix listed |
| pypi x402(PyPI) | = 1.0.0 | No fix listed |
| pypi x402(PyPI) | = 2.0.0 | No fix listed |
| pypi x402(PyPI) | = 2.1.0 | No fix listed |
| pypi x402(PyPI) | = 2.2.0 | No fix listed |
| coinbase github.com/coinbase/x402/go(Go) | < 2.5.0 | 2.5.0 |
| coinbase github.com/coinbase/x402/go(Go) | All versions | No fix listed |
References
- github.com vendor-advisory
- github.com vendor-advisory
- github.com product
- github.com