next-typescript-tailwind-mdx-starter
next-typescript-tailwind-mdx-starter copied to clipboard
🚨 [security] Update all of nextjs 10.0.9 → 14.1.0 (major)
🚨 Your current dependencies have known security vulnerabilities 🚨
This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!
Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ @next/mdx (10.0.9 → 14.1.0)
Sorry, we couldn't find anything useful about this release.
✳️ next (10.0.9 → 14.1.0) · Repo
Security Advisories 🚨
🚨 Next.js missing cache-control header may lead to CDN caching empty reply
Next.js before 13.4.20-canary.13 lacks a cache-control header and thus empty prefetch responses may sometimes be cached by a CDN, causing a denial of service to all users requesting the same URL via that CDN. Cloudflare considers these requests cacheable assets.
🚨 Unexpected server crash in Next.js
Impact
When specific requests are made to the Next.js server it can cause an
unhandledRejectionin the server which can crash the process to exit in specific Node.js versions with strictunhandledRejectionhandling.
Affected: All of the following must be true to be affected by this CVE
- Node.js version above v15.0.0 being used with strict
unhandledRejectionexiting- Next.js version v12.2.3
- Using next start or a custom server
Not affected: Deployments on Vercel (vercel.com) are not affected along with similar environments where
next-serverisn't being shared across requests.Patches
🚨 Improper CSP in Image Optimization API for Next.js versions between 10.0.0 and 12.1.0
Impact
- Affected: All of the following must be true to be affected
- Next.js between version 10.0.0 and 12.0.10
- The
next.config.jsfile has images.domains array assigned- The image host assigned in images.domains allows user-provided SVG
- Not affected: The
next.config.jsfile has images.loader assigned to something other than defaultPatches
Workarounds
Change
next.config.jsto use a different loader configuration other than the default, for example:module.exports = { images: { loader: 'imgix', path: 'https://example.com/myaccount/', }, }Or if you want to use the
loaderprop on the component, you can usecustom:module.exports = { images: { loader: 'custom', }, }
🚨 DOS Vulnerability for self-hosted next.js apps using i18n
Impact
Vulnerable code could allow a bad actor to trigger a denial of service attack for anyone running a Next.js app at version >= 12.0.0, and using i18n functionality.
- Affected: All of the following must be true to be affected by this CVE
- Next.js versions above v12.0.0
- Using next start or a custom server
- Using the built-in i18n support
- Not affected:
- Deployments on Vercel (vercel.com) are not affected along with similar environments where invalid requests are filtered before reaching Next.js.
Patches
A patch has been released,
[email protected], that mitigates this issue. We recommend all affected users upgrade as soon as possible.Workarounds
We recommend upgrading whether you can reproduce or not although you can ensure
/${locale}/_next/is blocked from reaching the Next.js instance until you upgrade.For more information
If you have any questions or comments about this advisory:
- Open an issue in next
- Email us at [email protected]
🚨 Unexpected server crash in Next.js
Next.js is a React framework. In versions of Next.js prior to 12.0.5 or 11.1.3, invalid or malformed URLs could lead to a server crash. In order to be affected by this issue, the deployment must use Next.js versions above 11.1.0 and below 12.0.5, Node.js above 15.0.0, and next start or a custom server. Deployments on Vercel are not affected, along with similar environments where invalid requests are filtered before reaching Next.js. Versions 12.0.5 and 11.1.3 contain patches for this issue.
🚨 Unexpected server crash in Next.js
Next.js is a React framework. In versions of Next.js prior to 12.0.5 or 11.1.3, invalid or malformed URLs could lead to a server crash. In order to be affected by this issue, the deployment must use Next.js versions above 11.1.0 and below 12.0.5, Node.js above 15.0.0, and next start or a custom server. Deployments on Vercel are not affected, along with similar environments where invalid requests are filtered before reaching Next.js. Versions 12.0.5 and 11.1.3 contain patches for this issue.
🚨 XSS in Image Optimization API for Next.js
Impact
- Affected: All of the following must be true to be affected
- Next.js between version 10.0.0 and 11.1.0
- The
next.config.jsfile hasimages.domainsarray assigned- The image host assigned in
images.domainsallows user-provided SVG- Not affected: The
next.config.jsfile hasimages.loaderassigned to something other than default- Not affected: Deployments on Vercel are not affected
Patches
🚨 Open Redirect in Next.js
Impact
- Affected: Users of Next.js between
10.0.5and10.2.0- Affected: Users of Next.js between
11.0.0and11.0.1usingpages/_error.jswithoutgetInitialProps- Affected: Users of Next.js between
11.0.0and11.0.1usingpages/_error.jsandnext export- Not affected: Deployments on Vercel (vercel.com) are not affected
- Not affected: Deployments with
pages/404.jsWe recommend everyone to upgrade regardless of whether you can reproduce the issue or not.
Patches
Release Notes
Too many releases to show here. View the full release notes.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.
All Depfu comment commands
- @depfu rebase
- Rebases against your default branch and redoes this update
- @depfu recreate
- Recreates this PR, overwriting any edits that you've made to it
- @depfu merge
- Merges this PR once your tests are passing and conflicts are resolved
- @depfu cancel merge
- Cancels automatic merging of this PR
- @depfu close
- Closes this PR and deletes the branch
- @depfu reopen
- Restores the branch and reopens this PR (if it's closed)
- @depfu pause
- Ignores all future updates for this dependency and closes this PR
- @depfu pause [minor|major]
- Ignores all future minor/major updates for this dependency and closes this PR
- @depfu resume
- Future versions of this dependency will create PRs again (leaves this PR as is)
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| next-typescript-tailwind-mdx-starter | ❌ Failed (Inspect) | Jan 20, 2024 1:51am |
Closed in favor of #480.
Closed in favor of #480.