Advisory

GHSA-6h5x-7c5m-7cr7

Also known as: CVE-2022-1650

Summary

Exposure of Sensitive Information in eventsource

Details

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."

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-05-13 00:01 UTC
Modified
2023-11-08 04:07 UTC

Affected packages and fixes

eventsource

npm · All systems

Affected

  • introduced 0, fixed 1.1.1 (semver)

Fixed versions

1.1.1

Fix

eventsource

npm · All systems

Affected

  • introduced 2.0.0, fixed 2.0.2 (semver)

Fixed versions

2.0.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences