Skip to content

[GHSA-pw2r-vq6v-hr8c] Exposure of Sensitive Information to an Unauthorized Actor in follow-redirects#7473

Open
ljharb wants to merge 1 commit intoljharb/advisory-improvement-7473from
ljharb-GHSA-pw2r-vq6v-hr8c
Open

[GHSA-pw2r-vq6v-hr8c] Exposure of Sensitive Information to an Unauthorized Actor in follow-redirects#7473
ljharb wants to merge 1 commit intoljharb/advisory-improvement-7473from
ljharb-GHSA-pw2r-vq6v-hr8c

Conversation

@ljharb
Copy link
Copy Markdown

@ljharb ljharb commented Apr 21, 2026

Updates

  • Affected products

Comments
Empirical POC-based runtime testing confirms follow-redirects 0.0.1-0.0.3 do not leak Authorization on HTTPS->HTTP scheme downgrade because the redirect code path (module.exports[proto].get(redirectUrl)) does not forward any headers from the original request. Versions 0.0.4+ started forwarding headers and do exhibit the scheme-downgrade leak.

Copilot AI review requested due to automatic review settings April 21, 2026 17:28
@github-actions github-actions Bot changed the base branch from main to ljharb/advisory-improvement-7473 April 21, 2026 17:29
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the GHSA advisory metadata for follow-redirects to reflect that the vulnerable behavior starts at 0.0.4 (not all historical versions).

Changes:

  • Updates the advisory modified timestamp.
  • Adjusts the affected.ranges lower bound from "introduced": "0" to "introduced": "0.0.4".

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +28 to 30
"introduced": "0.0.4"
},
{
Copy link

Copilot AI Apr 21, 2026

Choose a reason for hiding this comment

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

The details field still states the issue affects follow-redirects "prior to 1.14.8", which now conflicts with the updated affected range starting at 0.0.4. Consider updating details (or adding a clarifying sentence) to reflect that versions 0.0.1–0.0.3 are not affected, so the narrative matches the affected.ranges data.

Copilot uses AI. Check for mistakes.
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.

2 participants