ghsa-7gc6-qh9x-w6h8
Vulnerability from github
Published
2022-04-17 00:00
Modified
2022-04-28 20:45
Severity ?
Summary
Incorrect Authorization in cross-fetch
Details
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 .
{ "affected": [ { "package": { "ecosystem": "npm", "name": "cross-fetch" }, "ranges": [ { "events": [ { "introduced": "3.0.0" }, { "fixed": "3.1.5" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "npm", "name": "cross-fetch" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "2.2.6" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2022-1365" ], "database_specific": { "cwe_ids": [ "CWE-359", "CWE-863" ], "github_reviewed": true, "github_reviewed_at": "2022-04-28T20:45:25Z", "nvd_published_at": "2022-04-15T23:15:00Z", "severity": "MODERATE" }, "details": "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.\nEx: 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 .", "id": "GHSA-7gc6-qh9x-w6h8", "modified": "2022-04-28T20:45:25Z", "published": "2022-04-17T00:00:32Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-1365" }, { "type": "WEB", "url": "https://github.com/lquixada/cross-fetch/pull/135" }, { "type": "WEB", "url": "https://github.com/lquixada/cross-fetch/commit/a3b3a9481091ddd06b8f83784ba9c4e034dc912a" }, { "type": "PACKAGE", "url": "https://github.com/lquixada/cross-fetch" }, { "type": "WEB", "url": "https://huntr.dev/bounties/ab55dfdd-2a60-437a-a832-e3efe3d264ac" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "type": "CVSS_V3" } ], "summary": "Incorrect Authorization in cross-fetch" }
Loading...
Loading...
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.