Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add event-stream as a dep and lock it (security issue) #739

Merged
merged 1 commit into from
Nov 27, 2018

Conversation

hwillson
Copy link
Member

As identified in dominictarr/event-stream#116, event-stream has a major security issue (malware injection) in version 3.3.6 (thanks to flatmap-stream version 0.1.1). event-stream 3.3.6 is referenced as a child dep in this project, through tsc-watch and vscode-apollo / vscode.

screenshot 2018-11-26 13 53 19

This commit adds event-stream as a top level dependency, and locks it to the most recent version that excludes flatmap-stream (version 3.3.4).

This should work for now, but ultimately tsc-watch and vscode should be updated to newer versions, that address this issue (since their child deps are the problem). Both projects have yet to submit fixes to this problem.

As identified in dominictarr/event-stream#116,
`event-stream` has a major security issue (malware injection) in
version 3.3.6 (thanks to `flatmap-stream` version 0.1.1).
`event-stream` 3.3.6 is referenced as a child dep in this
project, through `tsc-watch` and `vscode-apollo` / `vscode`.

This commit adds `event-stream` as a top level dependency, and
locks it to the most recent version that excludes `flatmap-stream`
(version 3.3.4).

This should work for now, but ultimately `tsc-watch` and
`vscode` should be updated to newer versions, that address this
issue (since their child deps are the problem). Both projects
have yet to submit fixes to this problem.
@abernix abernix merged commit df384df into master Nov 27, 2018
@abernix abernix deleted the hwillson/flatmap-stream-security-issue branch November 27, 2018 11:29
abernix added a commit that referenced this pull request Nov 27, 2018
This reverts commit df384df, which should
no longer be necessary to be pinned at this level due to forthcoming updates
(in the next commit) which update the `package-lock.json` coupled with
transitive updates to `vscode` (which contained the `event-stream` itself).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants