GitHub Advisoryadvisory · npm
GHSA-6h5x-7c5m-7cr7 Exposure of Sensitive Information in eventsource
CRITICAL
Official page ↗
- Aliases
- CVE-2022-1650
- Ecosystem
- npm
- Packages
- eventsource
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
- Weaknesses
- CWE-200, CWE-212
- Reviewed
- 2022-05-25
Affected packages
• npm eventsource: < 1.1.1 → fixed in 1.1.1
• npm eventsource: >= 2.0.0, < 2.0.2 → fixed in 2.0.2
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."
Related
Alias · CVE (1)
- CVE-2022-1650 Improper Removal of Sensitive Information Before Storage or Transfer in GitHub repository eventsource/eventsource prior to v2.0.2. vulnerability
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-1650 advisory
- https://github.com/EventSource/eventsource/pull/273#issuecomment-1127624508 web
- https://github.com/EventSource/eventsource/commit/f9f6416567bff62c1af2f4314be51d9870e94bc2 web
- https://github.com/eventsource/eventsource/commit/10ee0c4881a6ba2fe65ec18ed195ac35889583c4 web
- https://github.com/eventsource/eventsource package
- https://huntr.dev/bounties/dc9e467f-be5d-4945-867d-1044d27e9b8e web
- https://lists.debian.org/debian-lts-announce/2022/12/msg00021.html web