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

CVE-2024-6862: Lunary Cross-Site Request Forgery (CSRF) vulnerability

September 13, 2024

A Cross-Site Request Forgery (CSRF) vulnerability exists in lunary-ai/lunary version 1.2.34 due to overly permissive CORS settings. This vulnerability allows an attacker to sign up for and create projects or use the instance as if they were a user with local access. The main attack vector is for instances hosted locally on personal machines, which are not publicly accessible. The CORS settings in the backend permit all origins, exposing unauthenticated endpoints to CSRF attacks.

References

  • github.com/advisories/GHSA-v6x6-4v4x-2fx9
  • github.com/lunary-ai/lunary
  • github.com/lunary-ai/lunary/commit/3451fcd7b9d95e9091d62c515752f39f2faa6e54
  • huntr.com/bounties/0b1d851e-3455-480c-ad5a-23565894976f
  • nvd.nist.gov/vuln/detail/CVE-2024-6862

Code Behaviors & Features

Detect and mitigate CVE-2024-6862 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.10

Fixed versions

  • 1.4.10

Solution

Upgrade to version 1.4.10 or above.

Impact 8.1 HIGH

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

Learn more about CVSS

Weakness

  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

npm/lunary/CVE-2024-6862.yml

Spotted a mistake? Edit the file on GitLab.

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

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