[Snyk] Security upgrade next from 13.5.4 to 14.2.35#175
[Snyk] Security upgrade next from 13.5.4 to 14.2.35#175
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-NEXT-14400636 - https://snyk.io/vuln/SNYK-JS-NANOID-8492085
There was a problem hiding this comment.
Pull request overview
This PR upgrades Next.js from version 13.5.4 to 14.2.35 to address two security vulnerabilities: a high-severity deserialization vulnerability (SNYK-JS-NEXT-14400636) and a medium-severity input validation issue in nanoid (SNYK-JS-NANOID-8492085). Note that this is a major version upgrade with potential breaking changes, and the yarn.lock file failed to update automatically and requires manual intervention before merging.
Key Changes:
- Upgrade Next.js from 13.5.4 to 14.2.35 (major version bump)
- Security fixes for deserialization and input validation vulnerabilities
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "js-yaml": "^4.1.0", | ||
| "lucide-react": "^0.290.0", | ||
| "next": "13.5.4", | ||
| "next": "14.2.35", |
There was a problem hiding this comment.
The eslint-config-next package version (13.5.4) should be updated to match the Next.js version being upgraded to (14.2.35). Keeping eslint-config-next on version 13.5.4 while upgrading Next.js to 14.2.35 can lead to linting rules that are out of sync with the framework version, potentially missing new patterns or incorrectly flagging valid code.
Snyk has created this PR to fix 2 vulnerabilities in the yarn dependencies of this project.
Snyk changed the following file(s):
apps/web/package.jsonNote for zero-installs users
If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the
.yarn/cache/directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to runyarnto update the contents of the./yarn/cachedirectory.If you are not using zero-install you can ignore this as your flow should likely be unchanged.
Vulnerabilities that will be fixed with an upgrade:
SNYK-JS-NEXT-14400636
SNYK-JS-NANOID-8492085
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Improper Input Validation
🦉 Deserialization of Untrusted Data