Skip to content

[GHSA-jchw-25xp-jwwc] Follow Redirects improperly handles URLs in the url.parse() function#7474

Open
ljharb wants to merge 1 commit intoljharb/advisory-improvement-7474from
ljharb-GHSA-jchw-25xp-jwwc
Open

[GHSA-jchw-25xp-jwwc] Follow Redirects improperly handles URLs in the url.parse() function#7474
ljharb wants to merge 1 commit intoljharb/advisory-improvement-7474from
ljharb-GHSA-jchw-25xp-jwwc

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.5 do not exhibit the url.parse / WHATWG-URL differential. The try-new-URL / catch-url.parse fallback that makes this exploitable was introduced in 0.0.6 when the URL handling code path was rewritten. Prior versions used url.resolve + a simple redirect call with no WHATWG URL parsing step at all.

Copilot AI review requested due to automatic review settings April 21, 2026 18:05
@github-actions github-actions Bot changed the base branch from main to ljharb/advisory-improvement-7474 April 21, 2026 18:07
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 for follow-redirects to reflect corrected affected version boundaries based on empirical testing.

Changes:

  • Adjusts the affected version range to indicate the issue is introduced in 0.0.6 (not all versions).
  • Updates the advisory modified timestamp.

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

"events": [
{
"introduced": "0"
"introduced": "0.0.6"
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 affected range was narrowed to start at 0.0.6, but the details text still says "Versions ... before 1.15.4 are vulnerable", which now implies 0.0.1–0.0.5 are affected. Please update the details field to reflect the same introduced version (e.g., "from 0.0.6 before 1.15.4").

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