Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS0zMng2LXF2dzYtbXhqNM0vig

Forwarding of confidentials headers to third parties in fluture-node

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

Permalink: https://github.com/advisories/GHSA-32x6-qvw6-mxj4
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0zMng2LXF2dzYtbXhqNM0vig
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Low
Classification: General
Published: about 2 years ago
Updated: 10 months ago


CVSS Score: 2.6
CVSS vector: CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N

Identifiers: GHSA-32x6-qvw6-mxj4, CVE-2022-24719
References: Repository: https://github.com/fluture-js/fluture-node
Blast Radius: 2.2

Affected Packages

pypi:request-util
Dependent packages: 0
Dependent repositories: 0
Downloads: last month
Affected Version Ranges: >= 0
No known fixed version
All affected versions: 2.4.0
npm:fluture-node
Dependent packages: 3
Dependent repositories: 3
Downloads: 195 last month
Affected Version Ranges: >= 4.0.0, < 4.0.2
Fixed in: 4.0.2
All affected versions: 4.0.0, 4.0.1
All unaffected versions: 1.0.0, 1.1.0, 2.0.0, 2.1.0, 3.0.0, 4.0.2, 4.0.3