Skip to content

fix(security): upgrade axios from 0.18.1 to 0.21.4 to address critical vulnerability#3904

Open
piotr-roslaniec wants to merge 1 commit intomainfrom
eng-623-upgrade-axios
Open

fix(security): upgrade axios from 0.18.1 to 0.21.4 to address critical vulnerability#3904
piotr-roslaniec wants to merge 1 commit intomainfrom
eng-623-upgrade-axios

Conversation

@piotr-roslaniec
Copy link
Collaborator

Summary

Upgrades axios from vulnerable 0.18.1 to 0.21.4 to address a critical security vulnerability.

Root Cause

@openzeppelin/upgrades@2.7.2 depends on axios@^0.18.0. Since upgrading @openzeppelin/upgrades to the latest version doesn't resolve this (it still uses axios@^0.18.0), we use npm overrides and yarn resolutions to force the axios version.

Changes

  • Added npm overrides with nested syntax to target axios within @openzeppelin/upgrades
  • Added yarn resolutions for yarn-based projects
  • Regenerated all affected lockfiles

Affected Projects

  • solidity-v1/
  • solidity-v1/dashboard/
  • token-stakedrop/
  • solidity/ecdsa/
  • solidity/random-beacon/
  • infrastructure/gcp/keep-test/google-functions/keep-faucet/
  • infrastructure/eth-networks/scripts/
  • infrastructure/kube/templates/keep-client/initcontainer/provision-keep-client/

Verification

  • All lockfiles verified - no axios@0.18.x remains
  • All packages now resolve to axios@0.21.4

Fixes: ENG-623

…ability

The @openzeppelin/upgrades package required axios@^0.18.0 which resolved
to the vulnerable 0.18.1 version. This commit adds npm overrides and
yarn resolutions to force resolution to axios 0.21.x across all
affected projects.

Affected projects:
- solidity-v1 (npm)
- solidity-v1/dashboard (npm)
- solidity/ecdsa (npm + yarn)
- solidity/random-beacon (yarn)
- token-stakedrop (npm)
- infrastructure/eth-networks/scripts (npm)
- infrastructure/gcp/keep-faucet (npm)
- infrastructure/kube/provision-keep-client (npm)
@linear
Copy link

linear bot commented Mar 16, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant