This repository was archived by the owner on Nov 20, 2024. It is now read-only.
chore(deps): update dependency next to v13.5.1 [security] #778
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
13.4.4
->13.5.1
GitHub Vulnerability Alerts
CVE-2023-46298
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.
CVE-2024-34350
Impact
Inconsistent interpretation of a crafted HTTP request meant that requests are treated as both a single request, and two separate requests by Next.js, leading to desynchronized responses. This led to a response queue poisoning vulnerability in the affected Next.js versions.
For a request to be exploitable, the affected route also had to be making use of the rewrites feature in Next.js.
Patches
The vulnerability is resolved in Next.js
13.5.1
and newer. This includes Next.js14.x
.Workarounds
There are no official workarounds for this vulnerability. We recommend that you upgrade to a safe version.
References
https://portswigger.net/web-security/request-smuggling/advanced/response-queue-poisoning
Release Notes
vercel/next.js (next)
v13.5.1
Compare Source
Core Changes
output: export
in app router: #54202ua-parser-js
: #54404ssr: false
in App Router: #54411named_import_transform
: #54530optimize_barrel
SWC transform and newoptimizePackageImports
config: #54572permanentRedirect
function in App Router: #54047preload
is not exported fromreact-dom
: #54688@visx/visx
to the import optimization list: #54778/
: #54744/route
suffix: #54851undici
: #55007react-hot-toast
from the optimizePackageImports list: #55029optimizePackageImports
: #55040babel/code-frame
: #55024skipTrailingSlashRedirect
being ignored inpages
: #55067Send
: #55077ImageResponse
extendsResponse
: #55187--experimental-turbo
from supported next-dev args: #55300react-server-dom-webpack
cache invalidation: #55287.ts
files: #552960.0.0.0
: #54445dd480ef
tod6dcad6
.: #55399next/head
on client in App Pages: #55419mui-core
to the defaultoptimizePackageImports
list: #55554ppr
flag: #55560optimize_server_react
transform: #55551Documentation Changes
manifest
metadata file: #54380next-i18n-router
as a resource for internationalized routing: #52344useSelectedLayoutSegment
&useSelectedLayoutSegments
: #53602loaderFile
config: #54529use-selected-layout-segments.mdx
: #54767maxDuration
in API Routes config: #54844app
reference onpages
doc for runtimes.: #55058satisfies
for TypeScript code blocks: #55205optimizePackageImports
: #55185nissuer
: #55525Example Changes
elements.update()
to ensure latest payment amount is reflected: #54848@keystone-next/keystone
: #55210Misc Changes
swc_core
tov0.79.69
: #5419002-app/01-building-your-application/06-optimizing/01-images.mdx
: #54311swc_core
tov0.79.70
: #54368next-with-deps
: #54847node@18
: #54000swc_core
tov0.83.12
: #55216Credits
Huge thanks to @ztanner, @huozhi, @icyJoseph, @kdy1, @timneutkens, @feedthejim, @nbhargava, @shuding, @lauthieb, @leerob, @styfle, @tonskton, @delbaoliveira, @m4salah, @gnoff, @kwonoj, @ijjk, @dvoytenko, @sloanesturz, @balazsorban44, @wyattjoh, @wbinnssmith, @dcporter44, @Kikobeats, @uzairali001, @A7med3bdulBaset, @sokra, @ClementDreptin, @vvo, @Vector73, @ah100101, @chanyeinthaw, @emiliosheinz, @dikaio, @indraantoor, @steven-tey, @krychaxp, @smaeda-ks, @janicklas-ralph, @EdPutans, @vinaykulk621, @michaelangeloio, @mateuszaliyev, @lukebussey, @jridgewell, @Xvezda, @Aryan9592, @sadaffathali, @mayank1513, @ForsakenHarmony, @jsteele-stripe, @okoyecharles, @rob-johansen, @imageck, @ecklf, @Sylith1231, @SonMooSans, @rousan, @robertwbradford, @hiddenest, @innowhat, @sand4rt, @feugy, @ryota-murakami, @hyeewooon, @mewcoder, @CSY54, @csi-lk, @daltonmcphaden, @sidgaikwad, @joulev, @danaugrs, @olingern, @penberg, @sdaigo, @manovotny, @arsenykruglikov, @remorses, @alexandreferreirafr, @acdlite, @li-jia-nan, @wesleydebruijn, @Kevintjuhz, @ytkg, @roigecode, @hoop71, @romeobravo, and @padmaia for helping!
v13.5.0
Compare Source
v13.4.19
Compare Source
Core Changes
@headlessui/react
: #54206devPageFiles
collection: #54224Route
andLinkProps
stub generics: #54226createClientModuleProxy
from Flight Server: #54232loaderFile
whenloader: default
: #53417Misc Changes
upgrading.mdx
link : #54234cancel-workflow-action@0.11.0
: #54246Credits
Huge thanks to @opnay, @styfle, @timneutkens, @ztanner, @shuding, @huozhi, @vinaykulk621, @balazsorban44, @goguda, and @coreyleelarson for helping!
v13.4.18
Compare Source
Core Changes
position
indev-build-watcher
: #54124size
property toReadonlySearchParams
: #53144Misc Changes
Credits
Huge thanks to @huozhi, @shuding, @styfle, @jridgewell, @bencmbrook, @cramforce, and @ztanner for helping!
v13.4.17
Compare Source
Core Changes
as any
type cast: #54074fs.promises.rm()
: #54076Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.