Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. lunary
  4. ›
  5. CVE-2024-5389

CVE-2024-5389: lunary-ai/lunary Access Control Vulnerability in Prompt Variation Management

June 10, 2024 (updated November 25, 2024)

Withdrawn: This advisory was incorrectly linked the the npm package lunary. The advisory is valid, but not for that package.

In lunary-ai/lunary version 1.2.13, an insufficient granularity of access control vulnerability allows users to create, update, get, and delete prompt variations for datasets not owned by their organization. This issue arises due to the application not properly validating the ownership of dataset prompts and their variations against the organization or project of the requesting user. As a result, unauthorized modifications to dataset prompts can occur, leading to altered or removed dataset prompts without proper authorization. This vulnerability impacts the integrity and consistency of dataset information, potentially affecting the results of experiments.

References

  • github.com/advisories/GHSA-3mwc-2cj7-gx8c
  • github.com/lunary-ai/lunary
  • github.com/lunary-ai/lunary/commit/35dd4af0001a54ccb14276a1546eb977f82c0c5e
  • huntr.com/bounties/3ca5309f-5615-4d5b-8043-968af220d7a2
  • nvd.nist.gov/vuln/detail/CVE-2024-5389

Code Behaviors & Features

Detect and mitigate CVE-2024-5389 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.4.9

Fixed versions

  • 1.4.9

Solution

Upgrade to version 1.4.9 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-1220: Insufficient Granularity of Access Control

Source file

npm/lunary/CVE-2024-5389.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:44 +0000.