-
Notifications
You must be signed in to change notification settings - Fork 27.6k
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
upgrade resolve-url-loader to 3.1.2 to resolve Prototype Pollution vulnerability #18048
Comments
resolve-url-loader is updated to 3.1.2: bholloway/resolve-url-loader#170 (comment) |
hi, when i pull the latest next js version i still get 3.1.1 and its on the package.lock.json so i cant update it, how can i fix this. |
You can use |
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Bug report
Describe the bug
resolve-url-loader is a production dependency inside next.
resolve-url-loader relies on adjust-sourcemap-loader as a production dependency.
adjust-sourcemap-loader relies on object-path as a production dependency.
object-path has a high severity vulnerability described here: https://www.npmjs.com/advisories/1573
To Reproduce
run 'npm audit'
Screenshot
Expected behavior
No high severity vulnerability inside production dependencies.
System information
Additional context
Although the vulnerability inside the newest object-path version is fixed: https://github.com/mariocasciaro/object-path,
the author of adjust-sourcemap-loader decided to drop it and replace its function with direct coding here: bholloway/adjust-sourcemap-loader#17
resolve-url-loader is being updated here: bholloway/resolve-url-loader#172
The last step, after the update and upgrade of resolve-url-loader is ready, is to upgrade resolve-url-loader inside next dependencies to resolve the vulnerability.
The text was updated successfully, but these errors were encountered: