CVE-2022-0155: Exposure of sensitive information in follow-redirects
8
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.74718%
CWE
Published
1/12/2022
Updated
2/12/2025
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
follow-redirects | npm | < 1.14.7 | 1.14.7 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The GitHub commit 8b347cb explicitly modifies the header removal logic in _processResponse
to include the Cookie header. The vulnerability stems from sensitive headers being forwarded to unauthorized domains during redirects. The patch adds Cookie to the headers being stripped, confirming this was the vulnerable code path. The CWE-359 classification and advisory descriptions about PII exposure align with this cookie leakage scenario.