GHSA-v6x6-4v4x-2fx9

Suggest an improvement
Source
https://github.com/advisories/GHSA-v6x6-4v4x-2fx9
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/09/GHSA-v6x6-4v4x-2fx9/GHSA-v6x6-4v4x-2fx9.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-v6x6-4v4x-2fx9
Withdrawn
2025-06-20T20:02:26Z
Published
2024-09-13T18:31:48Z
Modified
2025-06-20T20:02:26Z
Severity
  • 7.4 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N CVSS Calculator
  • 6.0 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N CVSS Calculator
Summary
Withdrawn Advisory: Lunary Cross-Site Request Forgery (CSRF) vulnerability
Details

Withdrawn Advisory

This advisory has been withdrawn because the lunary npm package is connected to https://github.com/lunary-ai/lunary-js, not the https://github.com/lunary-ai/lunary repo that is discussed in this advisory.

The underlying vulnerability report is still valid, but it doesn't affect a product in a GitHub Advisory Database supported ecosystem.

This link is maintained to preserve external references.

Original Description

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.

Database specific
{
    "nvd_published_at": "2024-09-13T17:15:13Z",
    "severity": "MODERATE",
    "github_reviewed_at": "2024-09-13T19:34:09Z",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-352"
    ]
}
References

Affected packages

npm / lunary

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.4.10

npm / @lunary/backend

Package

Name
@lunary/backend
View open source insights on deps.dev
Purl
pkg:npm/%40lunary/backend

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.4.10