chore(deps): update dependency next to v15.1.2 [security] #10
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:
15.0.3->15.1.2GitHub Vulnerability Alerts
CVE-2024-56332
Impact
A Denial of Service (DoS) attack allows attackers to construct requests that leaves requests to Server Actions hanging until the hosting provider cancels the function execution.
Note: Next.js server is idle during that time and only keeps the connection open. CPU and memory footprint are low during that time.
Deployments without any protection against long running Server Action invocations are especially vulnerable. Hosting providers like Vercel or Netlify set a default maximum duration on function execution to reduce the risk of excessive billing.
This is the same issue as if the incoming HTTP request has an invalid
Content-Lengthheader or never closes. If the host has no other mitigations to those then this vulnerability is novel.This vulnerability affects only Next.js deployments using Server Actions.
Patches
This vulnerability was resolved in Next.js 14.2.21, 15.1.2, and 13.5.8. We recommend that users upgrade to a safe version.
Workarounds
There are no official workarounds for this vulnerability.
Credits
Thanks to the PackDraw team for responsibly disclosing this vulnerability.
Release Notes
vercel/next.js (next)
v15.1.2Compare Source
v15.1.1Compare Source
v15.1.0Compare Source
Core Changes
server-source-mapsscenarios to cover Edge runtime: #72288swc_css: #72602rcfrom URL: #72599no-img-elementlint error message: #72410"use cache"closure args into a single parameter: #72587"use cache"functions: #72506clientSegmentCacheflag: #72626compiler.defineoption: #71802getting-started/react-essentialspath: #722505.6.3: #72625@capsizecss/metricsto 3.4.0 for Geist Google Font: #72746enabledconfig from server actions transforms: #72755eslint-plugin-reactto 7.37.0: #727595c56b873-20241107to7ac8e612-20241113: #72768"use cache"is used withoutdynamicIOenabled: #72781legacy-js-apiwarning: #726327ac8e612-20241113to380f5d67-20241113: #72819revalidate(Tag|Path)toexpire(Tag|Path): #72826prefetchAPI: #72861next-size-adjustmeta tag: #72994typedEnv: #70951next start: #73105380f5d6-20241113 tob01722d-20241114: #73107exactOptionalPropertyTypes: #72936revalidate(Tag|Path)toexpire(Tag|Path)": #73269notFound()work in"use cache"page: #73210@swc/coreto 1.9.3: #73420warnOnce(): #73483b01722d5-20241114to1b1283ad-20241203: #735061b1283ad-20241203tode68d2f4-20241204: #73525@types/react: #73563de68d2f4-20241204to1c9b1387-20241204: #73565unstable_after: #736051c9b1387-20241204to7283a213-20241206: #73608warnOnce()lru: #73742Example Changes
playwright.gitignore: #72447awaitparams when dynamic routing: #72896app-dirini18n-routingdirectory name: #73453examples/**Eslint to v9: #73560next-env.d.tsfiles: #73673with-sassREADME.md: #73668next-offlineexample: #73675with-postgres: #73587with-emotion-*directories: #73674with-styletronREADME.md: #73411with-babel-macrosREADME.md: #73410with-plausibleREADME: #73305image-legacy-component: #73414with-styled-components-babel: #73229with-storybook-styled-jsx-scss: #73228Misc Changes
next.config.jsAPI pages under aconfigfolder, fix headings in TS and ESLint config pages: #72465return Err(anyhow!())withanyhow::bail!(): #7248766855b96-20241106to5c56b873-20241107: #72469swc_coretov5.0.4fromv5.0.1: #72604patchFileDelayflag: #72439functionto page component examples: #72620ResolvedVcforturbopackcrate: #72791@container: #72607emit_errorfunction: #72811ResolvedVcforturbopack-ecmascript: #72564rootDirdoc: #72893frameborder, adjustallowFullScreenand update the demo: #72644customServerflag from custom server docs: #72962FnExprandFnDeclserver function transforms: #72960debugscript in test directories: #72992all_modules_and_affecting_sourceshelper function: #73016retryaroundbrowser.eval: #72999awaitwhen using params: #73044params.id: #73045Redirectingfix route handler path: #72617waitForAndOpenRuntimeErrortoopenRedbox: #72996expirePathandexpireTag: #73096"use memo": #73053thisandargumentsin server functions: #73059lightningcsstov1.0.0-alpha.61: #73161forbidden,unauthorized, andauthInterrupts: #73039.eslintrc.jsonwitheslint.config.mjs: #73162ResolvedVcforturbopack-css: #73172ResolvedVcforturbopack-core: #73065ResolvedVcforturbopack,turbopack-tests,turbopack-wasm: #73196ResolvedVcforturbopack-nodejs: #73200ResolvedVcforturbopack-env: #73202forbiddenandunauthorizednits: #73213turbopackAPI Reference: #73215superin static class methods with server function directives: #73061ResolvedVcfornext-api, part 1: #73234ResolvedVcfornext-api, part 2: #73235paramstoawait params: #73254Layouts and Pages: #73268ResolvedVcfornext-api, part 3: #73236ResolvedVcfornext-api, part 4: #73237ResolvedVcforturbopack-browser: #73198ResolvedVcfornext-core: #73177ResolvedVcfornext-api, part 5: #73238Vc<T>in turbo-tasks types: #73298nwsapi(revert later): #73351nwsapi(revert later)": #73353ResolvedVc<T>for struct fields innext-core: #73310ResolvedVc<T>for struct fields inturbopack-ecmascript: #73302ResolvedVc<T>for struct fields inturbopack-css: #73300ResolvedVc<T>for struct fields innext-api, part 1: #73366defaultto page component examples: #73233.gitignoreto ignore all.envfiles: #73415swcMinifyflag: #73281file conventions,functions, anderrors: #73376Images and Fontsfeedback: #73470ResolvedVc<T>for struct fields inturbopack-core: #73301ResolvedVc<T>for struct fields inturbo-tasks: #73371ResolvedVc<T>for trivial struct fields: #73372checktoretryin hmr.test.ts: #73590unoptimized: #73604ResolvedVc<T>for struct fields in extra crates: #73451ResolvedVc<T>for struct fields innext-api, final part: #73367.to_resolved()calls: #73631canarypage to upgrade guides: #73518Configuration
📅 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.