Skip to content

Commit b668e92

Browse files
committed
fix: bump axios to ^1.16.0 in typescript SDK
Loosens the exact `1.13.6` pin (originally added in #631 to block the compromised `1.14.1` release) so consumers can pick up axios security patches via `npm update` / `npm audit fix`. Picks up: - GHSA-fvcv-3m26-pcqx (CVE-2026-40175): Cloud Metadata Exfiltration via Header Injection — patched in 1.15.0 - GHSA-3p68-rc4w-qgx5 (CVE-2025-62718): NO_PROXY Hostname Normalization Bypass leading to SSRF — patched in 1.15.0 Both advisories were published after `1.13.6` was pinned. The `^1.16.0` range excludes the compromised `1.14.x` line and allows future patch releases. Closes #681
1 parent 19bc59f commit b668e92

4 files changed

Lines changed: 42 additions & 33 deletions

File tree

examples/typescript/pnpm-lock.yaml

Lines changed: 17 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@coinbase/cdp-sdk": patch
3+
---
4+
5+
Bump axios from `1.13.6` to `^1.16.0` in `typescript/src/package.json` to pick up security fixes for [GHSA-fvcv-3m26-pcqx](https://github.com/advisories/GHSA-fvcv-3m26-pcqx) (Cloud Metadata Exfiltration via Header Injection) and [GHSA-3p68-rc4w-qgx5](https://github.com/advisories/GHSA-3p68-rc4w-qgx5) (NO_PROXY Hostname Normalization Bypass leading to SSRF), both patched in `1.15.0`. The exact `1.13.6` pin (originally added in #631 to block the compromised `1.14.1` release) prevented consumers from receiving these patches via `npm update` / `npm audit fix`. A semver range allows future patch bumps without re-pinning. `1.14.x` is excluded by `^1.16.0`.
6+
7+
Closes #681.

typescript/pnpm-lock.yaml

Lines changed: 17 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

typescript/src/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"@solana-program/token": "^0.9.0",
2424
"@solana/kit": "^5.5.1",
2525
"abitype": "1.0.6",
26-
"axios": "1.13.6",
26+
"axios": "^1.16.0",
2727
"axios-retry": "^4.5.0",
2828
"bs58": "^6.0.0",
2929
"jose": "^6.2.0",

0 commit comments

Comments
 (0)