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

chore(deps): dsw-000 update dependency next to v14.2.10 [security] #208

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 24, 2024

This PR contains the following updates:

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

GitHub Vulnerability Alerts

CVE-2024-46982

Impact

By sending a crafted HTTP request, it is possible to poison the cache of a non-dynamic server-side rendered route in the pages router (this does not affect the app router). When this crafted request is sent it could coerce Next.js to cache a route that is meant to not be cached and send a Cache-Control: s-maxage=1, stale-while-revalidate header which some upstream CDNs may cache as well.

To be potentially affected all of the following must apply:

  • Next.js between 13.5.1 and 14.2.9
  • Using pages router
  • Using non-dynamic server-side rendered routes e.g. pages/dashboard.tsx not pages/blog/[slug].tsx

The below configurations are unaffected:

  • Deployments using only app router
  • Deployments on Vercel are not affected

Patches

This vulnerability was resolved in Next.js v13.5.7, v14.2.10, and later. We recommend upgrading regardless of whether you can reproduce the issue or not.

Workarounds

There are no official or recommended workarounds for this issue, we recommend that users patch to a safe version.

Credits

  • Allam Rachid (zhero_)
  • Henry Chen

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


Release Notes

vercel/next.js (next)

v14.2.10

Compare Source

v14.2.9

Compare Source

v14.2.8

Compare Source

v14.2.7

Compare Source

v14.2.6

Compare Source

v14.2.5

Compare Source

v14.2.4

Compare Source

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

Core Changes
  • fix: ensure route handlers properly track dynamic access (#​66446)
  • fix NextRequest proxy in edge runtime (#​66551)
  • Fix next/dynamic with babel and src dir (#​65177)
  • Use vercel deployment url for metadataBase fallbacks (#​65089)
  • fix(next/image): detect react@19 for fetchPriority prop (#​65235)
  • Fix loading navigation with metadata and prefetch (#​66447)
  • prevent duplicate RSC fetch when action redirects (#​66620)
  • ensure router cache updates reference the latest cache values (#​66681)
  • Prevent append of trailing slash in cases where path ends with a file extension (#​66636)
  • Fix inconsistency with 404 getStaticProps cache-control (#​66674)
  • Use addDependency to track metadata route file changes (#​66714)
  • Add timeout/retry handling for fetch cache (#​66652)
  • fix: app-router prefetch crash when an invalid URL is passed to Link (#​66755)
Credits

Huge thanks to @​ztanner, @​ijjk, @​wbinnssmith, @​huozhi, and @​lubieowoce 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 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.

@github-actions github-actions bot temporarily deployed to nextjs-app-v14-pr-208 September 24, 2024 10:26 Inactive
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from dbf7d18 to 5cb08a8 Compare September 24, 2024 10:54
@github-actions github-actions bot temporarily deployed to nextjs-app-v14-pr-208 September 24, 2024 10:56 Inactive
Copy link
Contributor

@xander-marjoram xander-marjoram left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to work out a way to prevent it from trying to do a major version bump within the Next 13 app

@xander-marjoram xander-marjoram marked this pull request as draft September 24, 2024 13:09
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from 5cb08a8 to a906d05 Compare September 24, 2024 13:14
@github-actions github-actions bot temporarily deployed to nextjs-app-v14-pr-208 September 24, 2024 13:16 Inactive
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from a906d05 to 9f8ed45 Compare September 24, 2024 13:23
@github-actions github-actions bot temporarily deployed to nextjs-app-v14-pr-208 September 24, 2024 13:25 Inactive
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from 9f8ed45 to df8a417 Compare October 1, 2024 10:59
@github-actions github-actions bot temporarily deployed to nextjs-app-v14-pr-208 October 1, 2024 11:01 Inactive
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from df8a417 to b9dbd74 Compare October 4, 2024 10:34
@github-actions github-actions bot temporarily deployed to nextjs-app-v14-pr-208 October 4, 2024 10:36 Inactive
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from b9dbd74 to 1facee1 Compare October 11, 2024 08:38
@github-actions github-actions bot temporarily deployed to nextjs-app-v14-pr-208 October 11, 2024 08:40 Inactive
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from 1facee1 to 8a90174 Compare October 15, 2024 13:46
@github-actions github-actions bot temporarily deployed to nextjs-app-v14-pr-208 October 15, 2024 13:48 Inactive
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from 8a90174 to f349e6e Compare October 17, 2024 08:28
@github-actions github-actions bot temporarily deployed to nextjs-app-v14-pr-208 October 17, 2024 08:30 Inactive
@renovate renovate bot changed the title chore(deps): dsw-000 update dependency next [security] chore(deps): dsw-000 update dependency next to v14.2.10 [security] Oct 17, 2024
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from f349e6e to 624811d Compare October 17, 2024 14:41
@github-actions github-actions bot temporarily deployed to nextjs-app-v14-pr-208 October 17, 2024 14:43 Inactive
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from 624811d to 718afb4 Compare October 17, 2024 15:27
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.

1 participant