logo

CVE-2022-1365 cross-fetch

Package

Manager: npm
Name: cross-fetch
Vulnerable Version: >=3.0.0 <3.1.5 || >=0 <2.2.6

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

EPSS: 0.00104 pctl0.29029

Details

Incorrect Authorization in cross-fetch When fetching a remote url with Cookie if it get Location response header then it will follow that url and try to fetch that url with provided cookie . So cookie is leaked here to thirdparty. Ex: you try to fetch example.com with cookie and if it get redirect url to attacker.com then it fetch that redirect url with provided cookie .

Metadata

Created: 2022-04-17T00:00:32Z
Modified: 2022-04-28T20:45:25Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/04/GHSA-7gc6-qh9x-w6h8/GHSA-7gc6-qh9x-w6h8.json
CWE IDs: ["CWE-359", "CWE-863"]
Alternative ID: GHSA-7gc6-qh9x-w6h8
Finding: F006
Auto approve: 1