Skip to content

Commit

Permalink
Merge pull request #5008 from github/vincelwt-GHSA-w5xm-mx47-v7c8
Browse files Browse the repository at this point in the history
  • Loading branch information
advisory-database[bot] authored Nov 18, 2024
2 parents 2357d6b + 7e73b1a commit 7b77217
Showing 1 changed file with 2 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
{
"schema_version": "1.4.0",
"id": "GHSA-w5xm-mx47-v7c8",
"modified": "2024-08-30T19:55:08Z",
"modified": "2024-08-30T19:55:09Z",
"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 incorrect 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": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
Expand All @@ -22,17 +18,14 @@
{
"package": {
"ecosystem": "npm",
"name": "lunary"
"name": ""
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.2.26"
}
]
}
Expand Down

0 comments on commit 7b77217

Please sign in to comment.