{"id":"GHSA-mh6f-8j2x-4483","aliases":["GHSA-mh6f-8j2x-4483"],"related":[],"kind":"vulnerability","state":"published","title":"Critical severity vulnerability that affects event-stream and flatmap-stream","summary":"The NPM package `flatmap-stream` is considered malicious.  A malicious actor added this package as a dependency to the NPM `event-stream` package in version `3.3.6`.  Users of `event-stream` are encouraged to downgrade to the last non-malicious version, `3.3.4`, or upgrade to the latest  4.x version. \n\nUsers of `flatmap-stream` are encouraged to remove the dependency entirely.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"The NPM package `flatmap-stream` is considered malicious.  A malicious actor added this package as a dependency to the NPM `event-stream` package in version `3.3.6`.  Users of `event-stream` are encouraged to downgrade to the last non-malicious version, `3.3.4`, or upgrade to the latest  4.x version. \n\nUsers of `flatmap-stream` are encouraged to remove the dependency entirely.","format":"markdown","source":"ghsa"}],"published":"2018-11-26T23:58:21.000Z","modified":"2021-09-15T20:08:26.000Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-506"],"affected":[{"ranges":[{"type":"semver","introduced":"3.3.6","status":"affected","fixed":"4.0.0"}],"ecosystem":"npm","package":"event-stream","purl":"pkg:npm/event-stream","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"npm","package":"flatmap-stream","purl":"pkg:npm/flatmap-stream","source":"ghsa"}],"references":[{"url":"https://github.com/dominictarr/event-stream/issues/116","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-mh6f-8j2x-4483","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/dominictarr/event-stream","tags":["package"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mh6f-8j2x-4483","url":"https://github.com/advisories/GHSA-mh6f-8j2x-4483","licence":"CC-BY-4.0","modified":"2021-09-15T20:08:26.000Z"}],"updatedAt":"2026-11-25T22:56:45.952Z"}