Publish GHSA-7gfc-8cq8-jh5f

This commit is contained in:
advisory-database[bot]
2024-12-17 15:10:30 +00:00
parent 866c7a44ca
commit 0c9b3196bf
@@ -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
}
}