GHSA-wpg7-2c88-r8xv
Exposure of Sensitive Information in simple-get
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | simple-get | >= 4.0.0, < 4.0.1 | 4.0.1 |
| npm | simple-get | >= 3.0.0, < 3.1.1 | 3.1.1 |
| npm | simple-get | < 2.8.2 | 2.8.2 |
Details
As written in the advisory (Markdown source, shown as plain text).
In versions of simple-get prior to 4.0.1, 3.1.1, and 2.8.2, when fetching a remote url with a cookie location response, headers will be followed, potentially resulting in an exposure of the session cookie to a third party.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2022-0355
- https://github.com/feross/simple-get/pull/75#issuecomment-1027755026
- https://github.com/feross/simple-get/pull/76#issuecomment-1027754710
- https://github.com/feross/simple-get/commit/e4af095e06cd69a9235013e8507e220a79b9684f
- https://github.com/feross/simple-get
- https://huntr.dev/bounties/42c79c23-6646-46c4-871d-219c0d4b4e31