Repository navigation
fix(security): fix security issue in axios via minor version upgrade from 1.15.0 to 1.19.0 - #88
Closed
aikido-autofix[bot] wants to merge 1 commit into
Closed
aikido-autofix[bot] wants to merge 1 commit into
aikido-autofix[bot] wants to merge 1 commit into
Conversation
Author
|
Closed by Aikido: a new AutoFix has been created → #90 |
aikido-autofix
Bot
deleted the
fix/aikido-security-update-packages-94591059-4hpy
branch
August 28, 2026 03:54
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.
Upgrade axios to fix critical MITM, prototype pollution, credential leakage, and header injection vulnerabilities affecting HTTP requests and authentication.
✅ 12 CVEs resolved by this upgrade
This PR will resolve the following CVEs:
X-API-Keyand AWS tokens to unintended hosts, allowing attackers to steal sensitive authentication data. This information disclosure vulnerability affects shared environments where secret headers are set by default.0.0.0.0as a local address when evaluatingNO_PROXYrules, allowing requests to0.0.0.0to be routed through configured proxies instead of bypassing them. This enables SSRF attacks when attackers control request URLs and the proxy can reach local services.Object.prototypeproperties to inject maliciousAuthorizationheaders and manipulate query strings when applications pass placeholder objects likeauth: {}orparamsSerializer: {}. This enables credential exfiltration and request tampering when another component has already polluted the prototype chain.maxBodyLengthlimits on WHATWGReadableStreamrequest bodies with unknown sizes, allowing attackers to bypass upload size restrictions and cause unexpected network egress or resource exhaustion.//(e.g.,https:internal.example) were silently normalized instead of rejected, allowing attackers to bypass URL allowlists or WAF checks and reach unintended hosts. The fix now throws an error for invalid scheme URLs before normalization.formDataToJSONhelper allows attackers to polluteObject.prototypethrough specially crafted multipart field names, potentially enabling remote code execution or other malicious actions.🤖 Remediation details
Bump
axiosto resolve multiple high/medium severity vulnerabilitiesShort summary
axios, the only vulnerable package identified in this task.package.json; the updated resolved version is reflected inpnpm-lock.yaml.axios
axioswas declared as a direct dependency in the rootpackage.jsonwith the range^1.15.0, resolving to1.15.0in the lockfile. This version falls within the vulnerable ranges of over a dozen advisories covering issues such as credential leakage, SSRF, and request smuggling. The specifier was updated to^1.18.0, which pnpm resolved to1.19.0— satisfying every patched-version floor across all advisories (the highest floor being1.18.0). No overrides or parent-chain changes were required, asaxiosis a direct dependency and the fix was entirely self-contained.Version changes
axios^1.15.0(resolved1.15.0)^1.18.0(resolved1.19.0)1.18.0