Vulnerability · Published Mar 1, 2022 · Assigned by GitHub_M
CVE-2022-24719Unauthorized forwarding of confidential headers in fluture-node
Low 2.6
In plain English
A low-severity security flaw in fluture-node from fluture-js. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 58% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Fluture-Node is a FP-style HTTP and streaming utils for Node based on Fluture. 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. The redirection strategies made available in version 4.0.2 automatically redact confidential headers when a redirect is followed across to another origin. A workaround has been identified by using a custom redirection strategy via the `followRedirectsWith` function. The custom strategy can be based on the new strategies available in fluture-node@4.0.2.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | pyquest | no fix listed | PYSEC-2022-43051 |
| PyPI | request-util | no fix listed | PYSEC-2022-43052 |
| npm | fluture-node | 4.0.2 | GHSA-32x6-qvw6-mxj4 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| fluture-js | fluture-node | >= 4.0.0, < 4.0.2 |
Weakness: CWE-359 · Vector: CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
References
- https://github.com/fluture-js/fluture-node/security/advisories/GHSA-32x6-qvw6-mxj4 x_refsource_CONFIRM
- https://github.com/psf/requests/pull/4718 x_refsource_MISC
- https://github.com/fluture-js/fluture-node/commit/0c99bc511533d48be17dc6bfe641f7d0aeb34d77 x_refsource_MISC
- https://github.com/fluture-js/fluture-node/commit/125e4474f910c1507f8ec3232848626fbc0f55c4 x_refsource_MISC