follow-redirects is a Node.js HTTP and HTTPS client wrapper that automatically follows redirects. From 1.16.0 until 1.16.1, escapeRegex leaves valid h...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:18.04:LTSnode-follow-redirects |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:20.04:LTSnode-follow-redirects |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:22.04:LTSnode-follow-redirects |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:24.04:LTSnode-follow-redirects |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10node-follow-redirects |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:26.04:LTSnode-follow-redirects |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
follow-redirects is a Node.js HTTP and HTTPS client wrapper that automatically follows redirects. From 1.16.0 until 1.16.1, escapeRegex leaves valid header-name metacharacters unescaped in sensitiveHeaders. When an application declares a sensitive header whose name contains ^ or | and follows a cross-origin or HTTPS-to-HTTP redirect, unescaped regular-expression metacharacters prevent the generated filter from matching the declared header name, and the credential header is forwarded to an attacker-controlled redirect target. This issue is fixed in version 1.16.1.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report github.com