fix(deps): bump axios to ~1.16.1 to address high-severity advisories#194
Merged
Conversation
Resolves four high-severity advisories affecting axios <= 1.15.2: - GHSA-pjwm-pj3p-43mv: NO_PROXY bypass via IPv4-mapped IPv6 addresses (incomplete fix for CVE-2025-62718) - GHSA-898c-q2cr-xwhg: DoS and header injection via prototype pollution in axios merge functions - GHSA-654m-c8p4-x5fp: Proxy-Authorization header injection via prototype pollution (incomplete null-prototype fix) - GHSA-35jp-ww65-95wh: Full MITM via prototype pollution gadget in config.proxy CI's `npm audit --audit-level moderate --omit=dev` started failing on main after these advisories were disclosed, blocking publish and update-homebrew jobs. The tilde range is preserved (~1.16.1) to keep the existing patch-only pinning policy. Verified locally: - npm audit --audit-level moderate --omit=dev: 0 vulnerabilities - npm test: 724/724 passing (axios-mock-adapter@2.1.0 deduped on 1.16.1)
|
🎉 This PR is included in version 2.11.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Bumps
axiosfrom~1.15.2to~1.16.1to resolve four newly disclosed high-severity advisories that started failing CI'ssecurityjob onmainafter #193 was merged.Why now
CI's
npm audit --audit-level moderate --omit=devbegan failing on the post-mergemainrun because GHSA disclosures for axios <= 1.15.2 landed between the PR build and the merge build. Because thepublishandupdate-homebrewjobs depend on[test, security], the release pipeline is currently blocked.This PR is intentionally minimal and independent of #193 — that PR only touched
lib/html-to-storage.jsand its tests, not dependencies.Advisories resolved
config.proxyRange choice
~1.16.1(tilde, patch-only) preserves the existing pinning policy. Not bumping to^1.16.1to avoid widening the constraint.Test plan
npm audit --audit-level moderate --omit=dev→0 vulnerabilitiesnpm test→ 724/724 passingaxios-mock-adapter@2.1.0deduped onaxios@1.16.1(no duplicate trees)securityjob goes green on this PRpublishandupdate-homebrewresume onmain