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.1GitHub 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.1and 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.1Compare Source
Core Changes
output: exportin app router: #54202ua-parser-js: #54404ssr: falsein App Router: #54411named_import_transform: #54530optimize_barrelSWC transform and newoptimizePackageImportsconfig: #54572permanentRedirectfunction in App Router: #54047preloadis not exported fromreact-dom: #54688@visx/visxto the import optimization list: #54778/: #54744/routesuffix: #54851undici: #55007react-hot-toastfrom the optimizePackageImports list: #55029optimizePackageImports: #55040babel/code-frame: #55024skipTrailingSlashRedirectbeing ignored inpages: #55067Send: #55077ImageResponseextendsResponse: #55187--experimental-turbofrom supported next-dev args: #55300react-server-dom-webpackcache invalidation: #55287.tsfiles: #552960.0.0.0: #54445dd480eftod6dcad6.: #55399next/headon client in App Pages: #55419mui-coreto the defaultoptimizePackageImportslist: #55554pprflag: #55560optimize_server_reacttransform: #55551Documentation Changes
manifestmetadata file: #54380next-i18n-routeras a resource for internationalized routing: #52344useSelectedLayoutSegment&useSelectedLayoutSegments: #53602loaderFileconfig: #54529use-selected-layout-segments.mdx: #54767maxDurationin API Routes config: #54844appreference onpagesdoc for runtimes.: #55058satisfiesfor TypeScript code blocks: #55205optimizePackageImports: #55185nissuer: #55525Example Changes
elements.update()to ensure latest payment amount is reflected: #54848@keystone-next/keystone: #55210Misc Changes
swc_coretov0.79.69: #5419002-app/01-building-your-application/06-optimizing/01-images.mdx: #54311swc_coretov0.79.70: #54368next-with-deps: #54847node@18: #54000swc_coretov0.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.0Compare Source
v13.4.19Compare Source
Core Changes
@headlessui/react: #54206devPageFilescollection: #54224RouteandLinkPropsstub generics: #54226createClientModuleProxyfrom Flight Server: #54232loaderFilewhenloader: default: #53417Misc Changes
upgrading.mdxlink : #54234[email protected]: #54246Credits
Huge thanks to @opnay, @styfle, @timneutkens, @ztanner, @shuding, @huozhi, @vinaykulk621, @balazsorban44, @goguda, and @coreyleelarson for helping!
v13.4.18Compare Source
Core Changes
positionindev-build-watcher: #54124sizeproperty toReadonlySearchParams: #53144Misc Changes
Credits
Huge thanks to @huozhi, @shuding, @styfle, @jridgewell, @bencmbrook, @cramforce, and @ztanner for helping!
v13.4.17Compare Source
Core Changes
as anytype 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.