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(nextjs): Update dependency next [SECURITY] #3418

Merged
merged 2 commits into from
May 23, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 22, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
next (source) ^13.5.4 -> ^14.0.0 age adoption passing confidence
next (source) ^13.5 -> ^14.0.0 age adoption passing confidence
next (source) 14.1.0 -> 14.1.1 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2024-34351

Impact

A Server-Side Request Forgery (SSRF) vulnerability was identified in Next.js Server Actions by security researchers at Assetnote. If the Host header is modified, and the below conditions are also met, an attacker may be able to make requests that appear to be originating from the Next.js application server itself.

Prerequisites

  • Next.js (<14.1.1) is running in a self-hosted* manner.
  • The Next.js application makes use of Server Actions.
  • The Server Action performs a redirect to a relative path which starts with a /.

* Many hosting providers (including Vercel) route requests based on the Host header, so we do not believe that this vulnerability affects any Next.js applications where routing is done in this manner.

Patches

This vulnerability was patched in #​62561 and fixed in Next.js 14.1.1.

Workarounds

There are no official workarounds for this vulnerability. We recommend upgrading to Next.js 14.1.1.

Credit

Vercel and the Next.js team thank Assetnote for responsibly disclosing this issue to us, and for working with us to verify the fix. Thanks to:

Adam Kues - Assetnote
Shubham Shah - Assetnote


Release Notes

vercel/next.js (next)

v14.2.3

Compare Source

v14.2.2

Compare Source

v14.2.1

Compare Source

v14.2.0

Compare Source

v14.1.4

Compare Source

v14.1.3

Compare Source

v14.1.2

Compare Source

v14.1.1

Compare Source

Note: this is a backport release for critical bug fixes -- this does not include all pending features/changes on canary

Core Changes
Credits

Huge thanks to @​huozhi, @​shuding, @​Ethan-Arrowood, @​styfle, @​ijjk, @​ztanner, @​balazsorban44, @​kdy1, and @​williamli for helping!

v14.1.0

Compare Source

v14.0.4

Compare Source

v14.0.3

Compare Source

v14.0.2

Compare Source

v14.0.1

Compare Source

Core Changes
  • Add Next.js 14 codemods to CLI output.: #​57552
  • OpenTelemetry: propagate a configured context(s) to root requests: #​57084
  • debug: Add tags to next build traces to track build configuration in the .next/trace file: #​56965
  • [Traces] Await the flush of the trace write stream to make sure trace file is written: #​57641
  • Add node-pty to externals list: #​57640
  • fix: move logging config validation out of experimental: #​57530
  • Update font data: #​57728
  • Support viewport export via TS Plugin: #​57554
  • Fix: Build compilation warning when using middleware: #​57685
  • chore: Update flight-client-entry-plugin.ts typo: #​57734
  • Improve error for missing default export in dynamic metadata routes: #​57711
  • fix gsp tracing issue: #​57766
  • fix(turbopack): don't match empty route groups: #​57647
  • Update React from 8c8ee9e to 0c63487 and types: #​57772
Documentation Changes
  • Add missing dot in codemod command: #​57536
  • docs(fix): example text unescaped entities: #​57255
  • doc: Clarify built-in support for sass after installation: #​57279
  • Update docs with a Good to know box about using redirect in client components: #​56966
  • docs: fix 02-dynamic-routes.mdx: #​57029
  • Fix incorrect link in GTM docs: #​57547
  • Fix typos: #​57592
  • Add apostrophe 07-error-handling.mdx: #​57626
  • Fix: codemods.mdx Incorrect heading structure of next-og-import, meta…: #​57605
  • Typo fix, version "13" to "14": #​57723
  • Fix Google Tag Manager URL in Third Party Libraries documentation: #​57731
Example Changes
Misc Changes
  • update manifest: #​57523
  • update next/third-parties to use Next 14 or 13 as a peer dependency, instead of just 13: #​57515
  • Modify tailwindcss related dependency of create-next-app: #​57262
  • Remove extra CI step and lock Node.js version: #​57769
Credits

Huge thanks to @​dijonmusters, @​sokra, @​philwolstenholme, @​IgorKowalczyk, @​housseindjirdeh, @​Zoe-Bot, @​HanCiHu, @​JackHowa, @​goncy, @​hirotomoyamada, @​pveyes, @​yeskunall, @​vinaykulk621, @​ChendayUP, @​leerob, @​dvoytenko, @​mknichel, @​ijjk, @​hmaesta, @​ajz003, @​its-kunal, @​joelhooks, @​blurrah, @​tariknh, @​Vinlock, @​Nayeem-XTREME, @​aziyatali, @​aspehler, @​huozhi, @​ztanner, @​ForsakenHarmony, @​moka-ayumu, and @​gnoff for helping!

v14.0.0

Compare Source


Configuration

📅 Schedule: Branch creation - "" in timezone GMT, 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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label May 22, 2024
Copy link

changeset-bot bot commented May 22, 2024

⚠️ No Changeset found

Latest commit: 1bd760a

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

@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from 6fdd1b9 to b9b8dae Compare May 22, 2024 10:57
@renovate renovate bot changed the title chore(nextjs): Update dependency next [SECURITY] chore(nextjs): Update dependency next to v14.1.1 [SECURITY] May 22, 2024
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from b9b8dae to c4b8bf9 Compare May 22, 2024 11:07
@renovate renovate bot changed the title chore(nextjs): Update dependency next to v14.1.1 [SECURITY] chore(nextjs): Update dependency next [SECURITY] May 22, 2024
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from c4b8bf9 to db1c32a Compare May 22, 2024 11:08
@renovate renovate bot changed the title chore(nextjs): Update dependency next [SECURITY] chore(nextjs): Update dependency next to v14.1.1 [SECURITY] May 22, 2024
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from db1c32a to 6e8c610 Compare May 22, 2024 13:57
@renovate renovate bot changed the title chore(nextjs): Update dependency next to v14.1.1 [SECURITY] chore(nextjs): Update dependency next [SECURITY] May 22, 2024
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from 6e8c610 to e8a9a2f Compare May 22, 2024 14:09
@renovate renovate bot changed the title chore(nextjs): Update dependency next [SECURITY] chore(nextjs): Update dependency next to v14.1.1 [SECURITY] May 22, 2024
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from e8a9a2f to 00f851c Compare May 22, 2024 18:09
@renovate renovate bot changed the title chore(nextjs): Update dependency next to v14.1.1 [SECURITY] chore(nextjs): Update dependency next [SECURITY] May 22, 2024
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from 00f851c to accc445 Compare May 22, 2024 18:13
@renovate renovate bot changed the title chore(nextjs): Update dependency next [SECURITY] chore(nextjs): Update dependency next to v14.1.1 [SECURITY] May 22, 2024
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from accc445 to 056d0bc Compare May 22, 2024 18:44
@renovate renovate bot changed the title chore(nextjs): Update dependency next to v14.1.1 [SECURITY] chore(nextjs): Update dependency next [SECURITY] May 22, 2024
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from 056d0bc to 6dcb5d3 Compare May 22, 2024 18:48
@renovate renovate bot changed the title chore(nextjs): Update dependency next [SECURITY] chore(nextjs): Update dependency next to v14.1.1 [SECURITY] May 22, 2024
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from 6dcb5d3 to 840af9d Compare May 22, 2024 22:00
@renovate renovate bot changed the title chore(nextjs): Update dependency next to v14.1.1 [SECURITY] chore(nextjs): Update dependency next [SECURITY] May 22, 2024
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from 840af9d to 4622663 Compare May 22, 2024 22:02
@renovate renovate bot changed the title chore(nextjs): Update dependency next [SECURITY] chore(nextjs): Update dependency next to v14.1.1 [SECURITY] May 22, 2024
@nikosdouvlis nikosdouvlis merged commit e9b6901 into main May 23, 2024
2 of 3 checks passed
@nikosdouvlis nikosdouvlis deleted the renovate/npm-next-vulnerability branch May 23, 2024 11:31
@renovate renovate bot changed the title chore(nextjs): Update dependency next to v14.1.1 [SECURITY] chore(nextjs): Update dependency next [SECURITY] May 23, 2024
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 integration nextjs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants