Missing Authorization Affecting next package, versions >=9.5.5 <14.2.15


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Missing Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-NEXT-8520073
  • published18 Dec 2024
  • disclosed17 Dec 2024
  • credittyage

Introduced: 17 Dec 2024

NewCVE-2024-51479  (opens in a new tab)
CWE-862  (opens in a new tab)

How to fix?

Upgrade next to version 14.2.15 or higher.

Overview

next is a react framework.

Affected versions of this package are vulnerable to Missing Authorization when using pathname-based checks in middleware for authorization decisions. If i18n configuration is not configured, an attacker can get unintended access to pages one level under the application's root directory.

e.g. https://example.com/foo is accessible. https://example.com/ and https://example.com/foo/bar are not.

Note:

Only self-hosted applications are vulnerable. The vulnerability has been fixed by Vercel on the server side.

References

CVSS Scores

version 4.0
version 3.1