-
-
Notifications
You must be signed in to change notification settings - Fork 392
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: [Security] Update Remix dependency and prevent prototype pollution vulnerabilities #1151
fix: [Security] Update Remix dependency and prevent prototype pollution vulnerabilities #1151
Conversation
Updates @remix-run/node from ^2.15.0 to ^2.15.3 to resolve medium severity XSS vulnerability in cookie dependency (SNYK-JS-COOKIE-8163060)
BREAKING CHANGE: The mutateMergeDeep function now includes additional safety checks for dangerous properties to prevent prototype pollution vulnerability. This fixes the high severity security issue SNYK-JS-TANSTACKFORMCORE-8706814.
Hi @crutchcorn could you please check this? Our project also depends on this package and would really appreciate if this could be merged to mitigate the Security issue. |
View your CI Pipeline Execution ↗ for commit e74ef29.
☁️ Nx Cloud last updated this comment at |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1151 +/- ##
==========================================
- Coverage 87.86% 87.83% -0.03%
==========================================
Files 30 30
Lines 1318 1332 +14
Branches 354 360 +6
==========================================
+ Hits 1158 1170 +12
- Misses 144 146 +2
Partials 16 16 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tweaked a couple of repo specific things but the fix looks good, thank you! 🚀
Yoo! 👋
While working with TanStack Form, I noticed Snyk reporting two security vulnerabilities. This PR fixes both issues:
XSS vulnerability in cookie dependency:
Prototype pollution in mutateMergeDeep utility:
__proto__
andconstructor
The changes are straightforward:
I've tested this locally and all tests pass. Both Snyk vulnerabilities should be resolved with these changes.
Let me know if you'd like me to explain anything or make any adjustments! :)