mirror of
https://github.com/netbirdio/advisory-database.git
synced 2026-05-22 18:04:22 -07:00
Publish GHSA-w5xm-mx47-v7c8
This commit is contained in:
+27
-4
@@ -1,11 +1,12 @@
|
||||
{
|
||||
"schema_version": "1.4.0",
|
||||
"id": "GHSA-w5xm-mx47-v7c8",
|
||||
"modified": "2024-06-08T21:30:38Z",
|
||||
"modified": "2024-06-10T15:33:08Z",
|
||||
"published": "2024-06-08T21:30:38Z",
|
||||
"aliases": [
|
||||
"CVE-2024-4146"
|
||||
],
|
||||
"summary": "lunary-ai/lunary allows users unauthorized access to projects",
|
||||
"details": "In lunary-ai/lunary version v1.2.13, an improper authorization vulnerability exists that allows unauthorized users to access and manipulate projects within an organization they should not have access to. Specifically, the vulnerability is located in the `checkProjectAccess` method within the authorization middleware, which fails to adequately verify if a user has the correct permissions to access a specific project. Instead, it only checks if the user is part of the organization owning the project, overlooking the necessary check against the `account_project` table for explicit project access rights. This flaw enables attackers to gain complete control over all resources within a project, including the ability to create, update, read, and delete any resource, compromising the privacy and security of sensitive information.",
|
||||
"severity": [
|
||||
{
|
||||
@@ -14,7 +15,25 @@
|
||||
}
|
||||
],
|
||||
"affected": [
|
||||
|
||||
{
|
||||
"package": {
|
||||
"ecosystem": "npm",
|
||||
"name": "lunary"
|
||||
},
|
||||
"ranges": [
|
||||
{
|
||||
"type": "ECOSYSTEM",
|
||||
"events": [
|
||||
{
|
||||
"introduced": "0"
|
||||
},
|
||||
{
|
||||
"fixed": "1.2.26"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"references": [
|
||||
{
|
||||
@@ -25,6 +44,10 @@
|
||||
"type": "WEB",
|
||||
"url": "https://github.com/lunary-ai/lunary/commit/c43b6c62035f32ca455f66d5fd22ba661648cde7"
|
||||
},
|
||||
{
|
||||
"type": "PACKAGE",
|
||||
"url": "https://github.com/lunary-ai/lunary"
|
||||
},
|
||||
{
|
||||
"type": "WEB",
|
||||
"url": "https://huntr.com/bounties/a749e696-b398-4260-b2d0-b0054b9fffa7"
|
||||
@@ -35,8 +58,8 @@
|
||||
"CWE-285"
|
||||
],
|
||||
"severity": "CRITICAL",
|
||||
"github_reviewed": false,
|
||||
"github_reviewed_at": null,
|
||||
"github_reviewed": true,
|
||||
"github_reviewed_at": "2024-06-10T15:33:08Z",
|
||||
"nvd_published_at": "2024-06-08T20:15:52Z"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user