Skip to content

fix(deps): patch follow-redirects advisory GHSA-mrwp-f3q8-3g9p - #21

Merged
ChiragAgg5k merged 1 commit into
mainfrom
fix/ghsa-follow-redirects
Nov 2, 2026
Merged

ChiragAgg5k merged 1 commit into
mainfrom
fix/ghsa-follow-redirects

Conversation

@ChiragAgg5k

Copy link
Copy Markdown
Member

What

Bumps the transitive follow-redirects (via karma > http-proxy) from 1.16.1 to 1.16.2 to patch GHSA-mrwp-f3q8-3g9p (high): cross-realm sensitiveHeaders arrays are discarded and custom credentials can follow redirects. Dependabot has not raised an alert yet, so this was found by checking the lockfile directly.

Lockfile-only change via npm update follow-redirects --package-lock-only; http-proxy allows ^1.0.0, so no override is needed.

Not changed

minimatch (GHSA-g3hv-75wg-m249, fix 11.0.1) and glob (GHSA-3g3m-2fjr-6pw4, fix 14.0.2) are left as they are. Every parent pins an older major (minimatch ^3 / ^10, glob ^7 / ^13), and even the latest releases of @npmcli/package-json, cacache, @tufjs/models and ignore-walk still require glob ^13 / minimatch ^10, so the fixed versions can't be reached without forcing a major.

Verification

  • npm ci and npm run build succeed
  • npm ls follow-redirects shows only 1.16.2; 1.16.1 no longer appears in package-lock.json

follow-redirects 1.16.0-1.16.1 can forward custom credentials across redirects. Bumps the karma > http-proxy transitive to 1.16.2 within its ^1.0.0 range.
@hansi-codes

hansi-codes Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

🟢 Tier S · Ready to merge

The updated dependency installs and builds successfully, and no breaking API change or remaining follow-redirects advisory was found.

The lockfile updates the transitive follow-redirects dependency from 1.16.1 to 1.16.2, including its resolved tarball and integrity hash. This release changes sensitive-header array detection to use Array.isArray, addressing the cross-realm handling issue described in the advisory.

Verdict New comments Fixed Still open
✅ Approved 0 0 0
📂 Walkthrough · 1
File Change
package-lock.json Bumps the locked follow-redirects version to 1.16.2 and updates its tarball integrity metadata.

Reviewed 5a710aa · Details · Comment @hansi-codes review to re-run, or mention @hansi-codes with a question.

@hansi-codes hansi-codes Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Tier S · Looks good to merge. Summary

@ChiragAgg5k
ChiragAgg5k merged commit f0456bd into main Nov 2, 2026
2 checks passed
@ChiragAgg5k
ChiragAgg5k deleted the fix/ghsa-follow-redirects branch November 2, 2026 11:25
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