Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency next to v14.2.21 [security] #6375

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 17, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
next (source) 14.2.11 -> 14.2.21 age adoption passing confidence

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-47831

Impact

The image optimization feature of Next.js contained a vulnerability which allowed for a potential Denial of Service (DoS) condition which could lead to excessive CPU consumption.

Not affected:

  • The next.config.js file is configured with images.unoptimized set to true or images.loader set to a non-default value.
  • The Next.js application is hosted on Vercel.

Patches

This issue was fully patched in Next.js 14.2.7. We recommend that users upgrade to at least this version.

Workarounds

Ensure that the next.config.js file has either images.unoptimized, images.loader or images.loaderFile assigned.

Credits

Brandon Dahler (brandondahler), AWS
Dimitrios Vlastaras

CVE-2024-51479

Impact

If a Next.js application is performing authorization in middleware based on pathname, it was possible for this authorization to be bypassed.

Patches

This issue was patched in Next.js 14.2.15 and later.

If your Next.js application is hosted on Vercel, this vulnerability has been automatically mitigated, regardless of Next.js version.

Workarounds

There are no official workarounds for this vulnerability.

Credits

We'd like to thank tyage (GMO CyberSecurity by IERAE) for responsible disclosure of this issue.

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-Length header 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)

v14.2.21

Compare Source

v14.2.20

Compare Source

v14.2.19

Compare Source

[!NOTE]
This release is backporting bug fixes. It does not include all pending features/changes on canary.

Core Changes
  • ensure worker exits bubble to parent process (#​73433)
  • Increase max cache tags to 128 (#​73125)
Misc Changes
  • Update max tag items limit in docs (#​73445)
Credits

Huge thanks to @​ztanner and @​ijjk for helping!

v14.2.18

Compare Source

v14.2.17

Compare Source

v14.2.16

Compare Source

v14.2.15

Compare Source

[!NOTE]
This release is backporting bug fixes. It does not include all pending features/changes on canary.

Core Changes
  • support breadcrumb style catch-all parallel routes #​65063
  • Provide non-dynamic segments to catch-all parallel routes #​65233
  • Fix client reference access causing metadata missing #​70732
  • feat(next/image): add support for decoding prop #​70298
  • feat(next/image): add images.localPatterns config #​70529
  • fix(next/image): handle undefined images.localPatterns config in images-manifest.json
  • fix: Do not omit alt on getImgProps return type, ImgProps #​70608
  • [i18n] Routing fix #​70761
Credits

Huge thanks to @​ztanner, @​agadzik, @​huozhi, @​styfle, @​icyJoseph and @​wyattjoh for helping!

v14.2.14

Compare Source

[!NOTE]
This release is backporting bug fixes. It does not include all pending features/changes on canary.

Core Changes
  • Fix: clone response in first handler to prevent race (#​70082) (#​70649)
  • Respect reexports from metadata API routes (#​70508) (#​70647)
  • Externalize node binary modules for app router (#​70646)
  • Fix revalidateTag() behaviour when invoked in server components (#​70446) (#​70642)
  • Fix prefetch bailout detection for nested loading segments (#​70618)
  • Add missing node modules to externals (#​70382)
  • Feature: next/image: add support for images.remotePatterns.search (#​70302)
Credits

Huge thanks to @​styfle, @​ztanner, @​ijjk, @​huozhi and @​wyattjoh for helping!

v14.2.13

Compare Source

v14.2.12

Compare Source


Configuration

📅 Schedule: Branch creation - "" in timezone Europe/Paris, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Dec 17, 2024
@renovate renovate bot enabled auto-merge (squash) December 17, 2024 17:00
Copy link

socket-security bot commented Dec 17, 2024

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report↗︎

@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from 6201f9f to f72b076 Compare December 18, 2024 09:55
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from f72b076 to f108c3f Compare December 18, 2024 11:15
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from f108c3f to adf8127 Compare December 18, 2024 11:34
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from adf8127 to e415219 Compare December 18, 2024 14:09
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from e415219 to 1f1fda6 Compare December 19, 2024 08:51
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from 1f1fda6 to eb2e0fa Compare December 19, 2024 14:28
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from eb2e0fa to ecad41c Compare December 19, 2024 15:13
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from ecad41c to af178dd Compare December 19, 2024 15:17
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from af178dd to 8b74efe Compare December 19, 2024 15:27
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from 8b74efe to 77485d7 Compare December 19, 2024 15:49
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from 77485d7 to 49f47d9 Compare December 19, 2024 16:06
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from 49f47d9 to 418a99a Compare December 20, 2024 10:00
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from 418a99a to a86bcec Compare January 4, 2025 01:24
@renovate renovate bot changed the title fix(deps): update dependency next to v14.2.15 [security] fix(deps): update dependency next to v14.2.21 [security] Jan 4, 2025
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from a86bcec to 51d8f02 Compare January 7, 2025 10:05
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from 51d8f02 to 7ce7a51 Compare January 7, 2025 14:03
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from 7ce7a51 to e09e1ea Compare January 7, 2025 15:19
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from e09e1ea to 2e14158 Compare January 7, 2025 15:57
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from 2e14158 to 52153bd Compare January 7, 2025 18:59
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from 52153bd to 48e193b Compare January 9, 2025 10:38
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from 48e193b to 0623ec7 Compare January 9, 2025 14:12
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from 0623ec7 to dbf359e Compare January 9, 2025 14:20
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from dbf359e to 743a237 Compare January 9, 2025 15:20
Copy link

Report too large to display inline

View full report↗︎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants