Repository navigation
fix(security): fix security issue in axios via major version upgrade from 0.27.2 to 1.20.0 in shared-actions - #291
Closed
aikido-autofix[bot] wants to merge 1 commit into
Conversation
3 tasks
✅ Security Analysis ResultsNo security issues found. 2 files reviewed.
|
Author
|
Aikido's automated cron job opened a newer AutoFix. It fixes the same vulnerabilities and more: fix(security): fix 20 security issues in axios, undici |
aikido-autofix
Bot
deleted the
fix/aikido-security-update-packages-200389647-ks2o
branch
December 6, 2026 03:56
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.
Overview
Jira ticket: https://typeform.atlassian.net/browse/<TICKET_ID>
Changes
Testing
Docs
For contributions to the
Typeform/.githubrepoNote: Please do not use this repository for new internal shared workflows and actions. Use https://github.com/Typeform/.github-private instead!
Please check that your contribution applies to one of these cases below. If this is not the case, please contribute to https://github.com/Typeform/.github-private instead.
Fixes SSRF/proxy bypass, prototype-pollution header injection, credential leaks on cross-origin redirects, and XSRF token exposure in axios.
Security Impact — CVE vulnerabilities fixed by this PR:
✅ 14 CVEs resolved by this upgrade
This PR will resolve the following CVEs:
follow-redirects, which strips standard credential headers such asAuthorizationon cross-origin hops but leaves caller-defined secret headers likeX-API-Keyuntouched. A server that responds with a cross-origin redirect can therefo...__proto__as an own property, such as one created via JSON.parse(). An attacker can exploit this to cause a complete denial of service.getHeadersm...allowAbsoluteUrlsis not set tofalseby default when processing URLs inbuildFullPath(). This unsafe default may lead to unintended URL acceptance, allowing attackers to bypass expected r...axiosaccepted malformedhttp:andhttps:URLs that omitted//, such ashttps:internal.example, which could evade naive allowlist or WAF checks and reach unintended hosts. The library silently normalized these inputs instead of rejecting them. The f...Breaking Changes & Upgrade Impact:
⚠️ Breaking changes analysis not available for: axios
Fix Details / Technical Implementation:
🤖 Remediation details
Fix transitive
axiosvulnerability viaresolutionsoverrideShort summary
This PR fixes security vulnerabilities in the transitive dependency
axiosused withinshared-actions/send-deployment-event. Theaxiospackage was being pulled in at0.27.2(and subsequently pinned to1.18.0in a prior round) — both below the1.20.0fix floor required to address all flagged advisories. The fix adds aresolutionsentry toshared-actions/send-deployment-event/package.jsonand refreshes the correspondingyarn.lockto resolveaxiosat1.20.0.axios
axiosis a transitive-only dependency, required by the direct dependencyanalytics-node@6.2.0(exact pin, latest available version) via the range^0.27.2. That range cannot resolve to1.20.0, and no newer release ofanalytics-nodeexists that upgrades itsaxiosdependency — making a parent-bump path impossible. Aresolutionsoverride ("axios": "1.20.0") was added toshared-actions/send-deployment-event/package.jsonas the only viable mechanism to force the lockfile to resolveaxiosat the required patched version. The resolved version inyarn.lockmoved from0.27.2→1.20.0, satisfying the≥ 1.20.0fix floor for all flagged advisories.Version changes
axios0.27.21.20.0resolutionsoverride (parentanalytics-node@6.2.0range^0.27.2cannot reach patched version)