Affected versions
npmeventsource
- Affected versions
- < 1.1.1
- Fixed version
- 1.1.1
npmeventsource
- Affected versions
- >= 2.0.0, < 2.0.2
- Fixed version
- 2.0.2
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
Exploitation
Description
When fetching an url with a link to an external site (Redirect), the users Cookies & Autorisation headers are leaked to the third party application. According to the same-origin-policy, the header should be "sanitized."
Links
- https://github.com/EventSource/eventsource/commit/f9f6416567bff62c1af2f4314be51d9870e94bc2
- https://github.com/EventSource/eventsource/pull/273#issuecomment-1127624508
- https://github.com/advisories/GHSA-6h5x-7c5m-7cr7
- https://github.com/eventsource/eventsource
- https://github.com/eventsource/eventsource/commit/10ee0c4881a6ba2fe65ec18ed195ac35889583c4
- https://huntr.dev/bounties/dc9e467f-be5d-4945-867d-1044d27e9b8e
- https://lists.debian.org/debian-lts-announce/2022/12/msg00021.html
- https://nvd.nist.gov/vuln/detail/CVE-2022-1650
Credits
- macwier
- veloek
- dlannoye

