From 0c9b3196bf5d7ea29a9b5b030fa585e83d8341c1 Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Tue, 17 Dec 2024 15:10:30 +0000 Subject: [PATCH] Publish GHSA-7gfc-8cq8-jh5f --- .../GHSA-7gfc-8cq8-jh5f.json | 61 +++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 advisories/github-reviewed/2024/12/GHSA-7gfc-8cq8-jh5f/GHSA-7gfc-8cq8-jh5f.json diff --git a/advisories/github-reviewed/2024/12/GHSA-7gfc-8cq8-jh5f/GHSA-7gfc-8cq8-jh5f.json b/advisories/github-reviewed/2024/12/GHSA-7gfc-8cq8-jh5f/GHSA-7gfc-8cq8-jh5f.json new file mode 100644 index 00000000000..fb6b18f7e7d --- /dev/null +++ b/advisories/github-reviewed/2024/12/GHSA-7gfc-8cq8-jh5f/GHSA-7gfc-8cq8-jh5f.json @@ -0,0 +1,61 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-7gfc-8cq8-jh5f", + "modified": "2024-12-17T15:09:06Z", + "published": "2024-12-17T15:09:06Z", + "aliases": [ + "CVE-2024-51479" + ], + "summary": "Next.js authorization bypass vulnerability", + "details": "### Impact\nIf 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:\n\n* [Not affected] `https://example.com/`\n* [Affected] `https://example.com/foo`\n* [Not affected] `https://example.com/foo/bar`\n\n### Patches\nThis issue was patched in Next.js `14.2.15` and later.\n\nIf your Next.js application is hosted on Vercel, this vulnerability has been automatically mitigated, regardless of Next.js version.\n\n### Workarounds\nThere are no official workarounds for this vulnerability.\n\n#### Credits\nWe'd like to thank [tyage](http://github.com/tyage) (GMO CyberSecurity by IERAE) for responsible disclosure of this issue.", + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N" + } + ], + "affected": [ + { + "package": { + "ecosystem": "npm", + "name": "next" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "9.5.5" + }, + { + "fixed": "14.2.15" + } + ] + } + ] + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/vercel/next.js/security/advisories/GHSA-7gfc-8cq8-jh5f" + }, + { + "type": "WEB", + "url": "https://github.com/vercel/next.js/commit/1c8234eb20bc8afd396b89999a00f06b61d72d7b" + }, + { + "type": "PACKAGE", + "url": "https://github.com/vercel/next.js" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-285" + ], + "severity": "HIGH", + "github_reviewed": true, + "github_reviewed_at": "2024-12-17T15:09:06Z", + "nvd_published_at": null + } +} \ No newline at end of file