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.25 [security] #581

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 29, 2025

This PR contains the following updates:

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

GitHub 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-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.

CVE-2025-29927

Impact

It is possible to bypass authorization checks within a Next.js application, if the authorization check occurs in middleware.

Patches

  • For Next.js 15.x, this issue is fixed in 15.2.3
  • For Next.js 14.x, this issue is fixed in 14.2.25
  • For Next.js 13.x, this issue is fixed in 13.5.9
  • For Next.js 12.x, this issue is fixed in 12.3.5
  • For Next.js 11.x, consult the below workaround.

Note: Next.js deployments hosted on Vercel are automatically protected against this vulnerability.

Workaround

If patching to a safe version is infeasible, it is recommend that you prevent external user requests which contain the x-middleware-subrequest header from reaching your Next.js application.

Credits

  • Allam Rachid (zhero;)
  • Allam Yasser (inzo_)

Release Notes

vercel/next.js (next)

v14.2.25

Compare Source

v14.2.24

Compare Source

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

Core Changes
Credits

Huge thanks to @​ztanner for helping!

v14.2.23

Compare Source

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

Core Changes
  • backport: force module format for virtual client-proxy (#​74590)
  • Backport: Use provided waitUntil for pending revalidates (#​74573)
  • Feature: next/image: add support for images.qualities in next.config (#​74500)
Credits

Huge thanks to @​styfle, @​ijjk and @​lubieowoce for helping!

v14.2.22

Compare Source

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

Core Changes
  • Retry manifest file loading only in dev mode: #​73900
  • Ensure workers are cleaned up: #​71564
  • Use shared worker for lint & typecheck steps: #​74154
Credits

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


Configuration

📅 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 these updates again.


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

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

Copy link

changeset-bot bot commented Jan 29, 2025

⚠️ No Changeset found

Latest commit: 7f212dd

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

vercel bot commented Jan 29, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ensnode.io ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 26, 2025 9:14pm
examples.nameguard.io ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 26, 2025 9:14pm
nameai.dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 26, 2025 9:14pm
nameai.io ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 26, 2025 9:14pm
namegraph.dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 26, 2025 9:14pm
nameguard.io ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 26, 2025 9:14pm
namehashlabs.org ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 26, 2025 9:14pm
namekit.io ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 26, 2025 9:14pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
storybook.namekit.io ⬜️ Skipped (Inspect) Mar 26, 2025 9:14pm

@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from cb3e889 to ec9b7b8 Compare February 2, 2025 17:38
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from ec9b7b8 to 905fd2a Compare February 3, 2025 23:27
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from 363bcbf to 2466feb Compare March 24, 2025 17:15
@vercel vercel bot temporarily deployed to Preview – storybook.namekit.io March 24, 2025 17:15 Inactive
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from 2466feb to d28bc40 Compare March 24, 2025 21:57
@vercel vercel bot temporarily deployed to Preview – storybook.namekit.io March 24, 2025 21:57 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants