GHSA-6h5x-7c5m-7cr7

Suggest an improvement
Source
https://github.com/advisories/GHSA-6h5x-7c5m-7cr7
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-6h5x-7c5m-7cr7/GHSA-6h5x-7c5m-7cr7.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-6h5x-7c5m-7cr7
Aliases
Published
2022-05-13T00:01:12Z
Modified
2023-11-01T05:30:42Z
Severity
  • 9.3 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N CVSS Calculator
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."

Database specific
{
    "cwe_ids":  [
        "CWE-200",
        "CWE-212"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2022-05-25T19:27:47Z",
    "nvd_published_at":  "2022-05-12T11:15:00Z",
    "severity":  "CRITICAL"
}
References

Affected packages

npm / eventsource

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.1.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-6h5x-7c5m-7cr7/GHSA-6h5x-7c5m-7cr7.json"

npm / eventsource

Package

Affected ranges

Type
SEMVER
Events
Introduced
2.0.0
Fixed
2.0.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-6h5x-7c5m-7cr7/GHSA-6h5x-7c5m-7cr7.json"