Improper authorization in Next.js - CVE-2024-51479

 

Improper authorization in Next.js - CVE-2024-51479

Published: January 21, 2025


Vulnerability identifier: #VU103116
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2024-51479
CWE-ID: CWE-285
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: vercel
Affected software:
Next.js

Detailed vulnerability description

The vulnerability allows a remote attacker to gain access to sensitive information.

The vulnerability exists due to an error when handling authorization requests based on pathname. A remote attacker can bypass authorization and gain access to sensitive information.


How to mitigate CVE-2024-51479

Install updates from vendor's website.

Sources