-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Transitive dependency on vulnerable version of cross-spawn #4640
Comments
We are also getting notified about this via Snyk |
We're also getting warned about this through Dependabot |
I started getting warnings about this from npm audit. I see at least 1 other dependency that contains a vulnerable version of "cross-spawn" in Detox 20.28.0. The dev dependency for the Detox project, "cross-env". Detox currently specifies version 7.0.3 of "cross-env" which then specifies version 7.0.1 of "cross-spawn" as a dependency. The "cross-env" project is currently archived since it is in maintenance mode. EDIT:
|
I see. I'll try to take this during December. Thanks for the report. |
You could switch to promisify-child-process - seems to work at a couple of places - but could not make it work in BinaryExec.js doesn't seem that it can be a drop in replacement there: At least the does not work - maybe you have a suggestion? |
What happened?
Detox
depends onchild-process-promise
, which in turn depends oncross-spawn@^4.0.2
. However, versions ofcross-spawn
prior to6.0.6
are vulnerable to a REDoS vulnerability.What was the expected behaviour?
Detox should presumably switch away from
child-process-promise
and towards something more actively maintained, I guess?, or figure out another way to mitigate this vulnerability.Was it tested on latest Detox?
Help us reproduce this issue!
No response
In what environment did this happen?
No response
Detox logs
No response
Device logs
No response
More data, please!
No response
The text was updated successfully, but these errors were encountered: