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

fix: upgrade to the latest version of sane to remove vulnerability in merge v1.2.0 #7322

Closed
wants to merge 2 commits into from
Closed

Conversation

iamkun
Copy link

@iamkun iamkun commented Nov 2, 2018

Summary

Upgrade to the latest version of sane to remove vulnerability in merge v1.2.0

And this would upgrade exec-sh to v0.3.2, which removes insecure merge package (CVE-2018-16469)

close #7318

sane project reference 4.0.2 here amasad/sane#132

Test plan

Upgrade to the latest version of sane to remove vulnerability in merge v1.2.0
@facebook-github-bot
Copy link
Contributor

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need the corporate CLA signed.

If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks!

@facebook-github-bot
Copy link
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@SimenB
Copy link
Member

SimenB commented Nov 2, 2018

This is a breaking change for Jest. I never got an answer in amasad/sane#130, would love to understand the change made there

@SimenB
Copy link
Member

SimenB commented Nov 2, 2018

/cc @amasad @stefanpenner

@amasad
Copy link
Contributor

amasad commented Nov 2, 2018

Sorry, I was under the impression that jest forked/inlined sane. Can't find it now but remember an issue or a PR about it.

Anyways, I might be mistaken, so I apologize. @stefanpenner are you open to bringing back fs-events?

@stefanpenner
Copy link

@amasad we could, although it is a hazard for our users. I would much prefer the following:

allow jest to provide fs-events to sane, rather then sane providing it. That way, by default sane does not introduce native dependencies, but those who would prefer to utilize it with can provide it.

If that sounds reasonable, I will gladly implement what is needed.

Thoughts?

@amasad
Copy link
Contributor

amasad commented Nov 3, 2018 via email

@davecarlson
Copy link

Can this be prioritised ?

@SimenB
Copy link
Member

SimenB commented Nov 7, 2018

Updating in Jest master won't help your alerts as we are currently working on our next major, and have landed a bunch of breaking changes that will make it harder to release a patch.

If sane could release a patch for v3, that would be the quickest, as it'd be within semver range for Jest's dependency. If that's impossible, we'll have to do some juggling with branches on our side

@StefanSchoof
Copy link

In my project an npm audit fix resolved the issue. It upgraded merge to v1.2.1 which contains the fix.

@SimenB
Copy link
Member

SimenB commented Dec 10, 2018

@stefanpenner any news here? 🙂

jdeal added a commit to zapier/formatic that referenced this pull request Feb 22, 2019
There's a security vulnerability in a sub-dependency of jest:

jestjs/jest#7322

Relocking fixed that. But the emotion serializer then gave a bit different results, and I noticed I was still on a beta there, so I bumped that to the latest and re-snapshotted everything.
@SimenB
Copy link
Member

SimenB commented Mar 5, 2019

#8048

@SimenB SimenB closed this Mar 5, 2019
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

merge package v1.2.0 has CVE-2018-16469 vulnerability
7 participants