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

Update dependency to avoid security flawness #2291

Merged
merged 2 commits into from Dec 17, 2019

Conversation

Thanerik
Copy link
Contributor

@Thanerik Thanerik commented Dec 8, 2019

It is an upgrade of a dependency to resolve the CVE-2019-16769 security issue.

@checkerschaf
Copy link

What's the current status of it? I think this security issue should be addressed.

@timrspratt
Copy link

The vulnerability was resolved with the patch update 2.1.1, hence this change to bump to that version. Looking at the release log of the serialize-javascript package (https://github.com/yahoo/serialize-javascript/releases) it seems the bump from v1 to v2 has breaking changes. Have these been tested?

@checkerschaf
Copy link

Not by me. But serialize-javascript is used by terser-webpack-plugin which is used by webpack which is then used by laravel-mix.
There are newer version of all packages in between but I'm not sure what breaking changes this comes with.

@darrencoutts118
Copy link

@JeffreyWay @taylorotwell - could we have an update on this one? Its to patch a CVE.

@Thanerik
Copy link
Contributor Author

I don't know the status of this pull request. My trouble is that I don't know that much of Laravel Mix to fully understand the consquences of updating serialize-javascript to the newer version. I even don't know where the package is being used in. However I ran my laravel code with the updated package and nothing broke. But as I stated, I don't know the full usage of the package....

I can see that Webpack already has a pull request that would resolve this issue, but it's blocked: webpack/webpack#10108

It's better if @JeffreyWay can take a look at this pull request, and said if we need to wait for Webpack to resolve it self?

@darrencoutts118
Copy link

A little disappointing to see this has not progressed. For me, it looks like a reason to move from mix if security vulnerabilities don't get patched in a timely fashion.

@timrspratt
Copy link

I think running npm audit fix will sort this without changes being needed. Let me know if not and we can get our pitchforks and head for @JeffreyWay 😂

@JeffreyWay JeffreyWay merged commit 5e332f0 into laravel-mix:master Dec 17, 2019
laracasts pushed a commit that referenced this pull request Dec 17, 2019
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

5 participants