From 5438e11feeaf31af30a6750c25db10d9759fac15 Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Mon, 10 Jun 2024 15:35:31 +0000 Subject: [PATCH] Publish GHSA-w5xm-mx47-v7c8 --- .../GHSA-w5xm-mx47-v7c8.json | 31 ++++++++++++++++--- 1 file changed, 27 insertions(+), 4 deletions(-) rename advisories/{unreviewed => github-reviewed}/2024/06/GHSA-w5xm-mx47-v7c8/GHSA-w5xm-mx47-v7c8.json (72%) diff --git a/advisories/unreviewed/2024/06/GHSA-w5xm-mx47-v7c8/GHSA-w5xm-mx47-v7c8.json b/advisories/github-reviewed/2024/06/GHSA-w5xm-mx47-v7c8/GHSA-w5xm-mx47-v7c8.json similarity index 72% rename from advisories/unreviewed/2024/06/GHSA-w5xm-mx47-v7c8/GHSA-w5xm-mx47-v7c8.json rename to advisories/github-reviewed/2024/06/GHSA-w5xm-mx47-v7c8/GHSA-w5xm-mx47-v7c8.json index 73d999cfcf9..534a66fd1bc 100644 --- a/advisories/unreviewed/2024/06/GHSA-w5xm-mx47-v7c8/GHSA-w5xm-mx47-v7c8.json +++ b/advisories/github-reviewed/2024/06/GHSA-w5xm-mx47-v7c8/GHSA-w5xm-mx47-v7c8.json @@ -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" } } \ No newline at end of file