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): update dependency next to v12.3.5 [security] #315

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 25, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
next (source) 12.3.4 -> 12.3.5 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-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)

v12.3.5

Compare Source


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

Copy link
Contributor Author

renovate bot commented Sep 25, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: yarn.lock
/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22546
  const isURL = URL.canParse(range);
                    ^

TypeError: URL.canParse is not a function
    at parseSpec (/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22546:21)
    at Object.getSpec (/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22695:20)
    at Engine.findProjectSpec (/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22913:31)
    at async Engine.executePackageManagerRequest (/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22952:24)
    at async Object.runMain (/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:23648:7)

@renovate renovate bot changed the title chore(deps): update dependency next to v13 [security] chore(deps): update dependency next to v13 [security] - autoclosed Sep 25, 2024
@renovate renovate bot closed this Sep 25, 2024
@renovate renovate bot deleted the renovate/npm-next-vulnerability branch September 25, 2024 16:40
@renovate renovate bot restored the renovate/npm-next-vulnerability branch September 26, 2024 18:52
@renovate renovate bot changed the title chore(deps): update dependency next to v13 [security] - autoclosed chore(deps): update dependency next to v13 [security] Sep 26, 2024
@renovate renovate bot reopened this Sep 26, 2024
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from 1c95ff0 to 0314966 Compare September 26, 2024 18:52
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from 0314966 to e65bc43 Compare October 15, 2024 08:06
@renovate renovate bot changed the title chore(deps): update dependency next to v13 [security] chore(deps): update dependency next to v14 [security] Oct 15, 2024
@renovate renovate bot changed the title chore(deps): update dependency next to v14 [security] chore(deps): update dependency next to v14 [security] - autoclosed Dec 8, 2024
@renovate renovate bot closed this Dec 8, 2024
@renovate renovate bot deleted the renovate/npm-next-vulnerability branch December 8, 2024 18:48
@renovate renovate bot changed the title chore(deps): update dependency next to v14 [security] - autoclosed chore(deps): update dependency next to v14 [security] Dec 8, 2024
@renovate renovate bot reopened this Dec 8, 2024
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from e65bc43 to d971468 Compare December 18, 2024 01:00
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from d971468 to 2aa8405 Compare March 24, 2025 22:56
@renovate renovate bot changed the title chore(deps): update dependency next to v14 [security] chore(deps): update dependency next to v12.3.5 [security] Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants