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 ReDoS vulnerability in old dependency (CWE-400) #175

Merged
merged 1 commit into from
Oct 23, 2018

Conversation

rajivshah3
Copy link
Contributor

@rajivshah3 rajivshah3 commented Sep 19, 2018

This PR upgrades plist to v3.0.1. According to Snyk, versions prior to to v3.0.1 were vulnerable to a Regex Denial of Service attack. While this might not necessarily affect electron-osx-sign, the current usage of plist v2.1.0 could be causing dependency audit pipelines to fail (ours included) so it should be fixed imho. While this is a major version bump (from v2.1.0 to v3.0.1), according to the discussion on TooTallNate/plist.js#89 this only seems to be considered breaking because it caused them to drop support for Node v4.

@rajivshah3 rajivshah3 changed the title Fix ReDoS vulnerability (CWE-400) Fix ReDoS vulnerability in old dependency (CWE-400) Sep 19, 2018
@sethlu
Copy link
Contributor

sethlu commented Oct 23, 2018

@rajivshah3 Thanks lots for making this PR! 😺 For some reasons I didn't get a notification last month. Merging this now...

@sethlu sethlu merged commit 3be8d68 into electron:master Oct 23, 2018
@rajivshah3
Copy link
Contributor Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants