We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-51479

Authorization bypass in Next.js



Description

Next.js is a React framework for building full-stack web applications. In affected versions if a Next.js application is performing authorization in middleware based on pathname, it was possible for this authorization to be bypassed for pages directly under the application's root directory. For example: * [Not affected] `https://example.com/` * [Affected] `https://example.com/foo` * [Not affected] `https://example.com/foo/bar`. This issue is 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. There are no official workarounds for this vulnerability.

Reserved 2024-10-28 | Published 2024-12-17 | Updated 2024-12-17 | Assigner GitHub_M


HIGH: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Problem types

CWE-285: Improper Authorization

Product status

>= 9.5.5, < 14.2.15
affected

References

github.com/...ext.js/security/advisories/GHSA-7gfc-8cq8-jh5f

github.com/vercel/next.js/releases/tag/v14.2.15

cve.org (CVE-2024-51479)

nvd.nist.gov (CVE-2024-51479)

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2024-51479

Support options

Helpdesk Chat, Email, Knowledgebase
Subscribe to our newsletter to learn more about our work.