GitHub Advisoryadvisory · npm

GHSA-32x6-qvw6-mxj4 Forwarding of confidentials headers to third parties in fluture-node

LOW Published 2022-03-01 Modified 2026-07-20 Official page ↗
Aliases
CVE-2022-24719
Ecosystem
npm
Packages
fluture-node
Severity
Low
CVSS vector
CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
Weaknesses
CWE-200, CWE-212, CWE-359, CWE-601
Reviewed
2022-03-01

Affected packages

• npm fluture-node: >= 4.0.0, < 4.0.2 → fixed in 4.0.2

Description

Impact Using `followRedirects` or `followRedirectsWith` with any of the redirection strategies built into fluture-node 4.0.0 or 4.0.1, paired with a request that includes confidential headers such as Authorization or Cookie, exposes you to a vulnerability where, if the destination server were to redirect the request to a server on a third-party domain, or the same domain over unencrypted HTTP, the headers would be included in the follow-up request and be exposed to the third party, or potential http traffic sniffing. Patches The redirection strategies made available in version 4.0.2 automatically redact confidential headers when a redirect is followed across to another origin. Workarounds Use a custom redirection strategy via the `followRedirectsWith` function. The custom strategy can be based on the new strategies available in [email protected]. References • This vulnerability was discovered after the announcement of similar vulnerabilities in the `follow-redirects` package. There is more information there: https://github.com/advisories/GHSA-74fj-2j2h-c42q and https://huntr.dev/bounties/7cf2bf90-52da-4d59-8028-a73b132de0db/ • Fixed in 125e4474f910c1507f8ec3232848626fbc0f55c4 and 0c99bc511533d48be17dc6bfe641f7d0aeb34d77

Related

Alias · CVE (1)

  • CVE-2022-24719 Fluture-Node is a FP-style HTTP and streaming utils for Node based on Fluture. vulnerability

Weakness · CWE (4)

  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness
  • CWE-212 Improper Removal of Sensitive Information Before Storage or Transfer weakness
  • CWE-359 Exposure of Private Personal Information to an Unauthorized Actor weakness
  • CWE-601 URL Redirection to Untrusted Site weakness

References