CVE-2024-6867: Withdrawn Advisory Lunary Information Disclosure Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-9jmp-j63g-8x6m
CVSS 4.3
CWE-1220
Published
Advisory Summary

CVE-2024-6867 is a MODERATE (CVSS 4.3) lunary information disclosure vulnerability vulnerability (CWE-1220: Insufficient Granularity of Access Control) affecting Withdrawn Advisory libraries in the npm ecosystem. The issue involves lunary information disclosure vulnerability. Remediation is available by upgrading affected packages to version 1.4.10.

CVE-2024-6867 at a Glance

CVE Identifier CVE-2024-6867
GHSA Identifier GHSA-9jmp-j63g-8x6m
Severity MODERATE
CVSS v3.1 Base Score 4.3
CWE Classification CWE-1220: Insufficient Granularity of Access Control
Affected Product Withdrawn Advisory
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 4.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2024-6867

To remediate this vulnerability, upgrade all affected Withdrawn Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

lunary fixed: 1.4.10
npm install lunary@1.4.10
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls lunary

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2024-6867, inspect your project dependencies using npm:

npm ls lunary

Analyze the terminal output to locate any version of Withdrawn Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.4.10), your application is affected.

Note: The npm ls lunary command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-1220: Insufficient Granularity of Access Control, where the product implements access controls via a policy or other feature with the intention to disable or restrict accesses (reads and/or writes) to assets in a system from untrusted agents. however, implemented access controls lack required granularity, which renders the control policy too broad because it allows accesses from unauthorized agents to the security-sensitive assets. In Withdrawn Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

## Withdrawn Advisory This advisory has been withdrawn because the [lunary npm package](https://www.npmjs.com/package/lunary) 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](https://docs.github.com/en/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-the-github-advisory-database#github-reviewed-advisories). This link is maintained to preserve external references. ## Original Description An information disclosure vulnerability exists in the lunary-ai/lunary, specifically in the `runs/{run_id}/related` endpoint. This endpoint does not verify that the user has the necessary access rights to the run(s) they are accessing. As a result, it returns not only the specified run but also all runs that have the `run_id` listed as their parent run. This issue affects the main branch, commit a761d833. The vulnerability allows unauthorized users to obtain information about non-public runs and their related runs, given the `run_id` of a public or non-public run.

CVE-2024-6867 Affected Withdrawn Advisory Versions

1 component(s)
Fixed Versions:
1.4.10
Product / Package Ecosystem Affected Versions Fixed Version
lunary
npm
< 1.4.10
1.4.10

References

Frequently Asked Questions

What is CVE-2024-6867?
CVE-2024-6867 is a security vulnerability in Withdrawn Advisory involving Lunary information disclosure vulnerability under CWE-1220: Insufficient Granularity of Access Control.
Which Withdrawn Advisory versions are affected?
Affected versions include releases prior to 1.4.10 across affected packages: lunary.
What version fixes CVE-2024-6867?
Upgrading to 1.4.10 (or the latest patched release for your respective branch) resolves the vulnerability.
Is lunary affected?
Yes, lunary is affected in releases prior to 1.4.10. Upgrade your dependency to 1.4.10 or later.
What is the CVSS score of CVE-2024-6867?
CVE-2024-6867 has a CVSS v3.1 base score of 4.3 (MODERATE) with vector string CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2024-6867?
CVE-2024-6867 is classified under CWE-1220: Insufficient Granularity of Access Control (The product implements access controls via a policy or other feature with the intention to disable or restrict accesses (reads and/or writes) to assets in a system from untrusted agents. However, implemented access controls lack required granularity, which renders the control policy too broad because it allows accesses from unauthorized agents to the security-sensitive assets.).
How can I check npm dependencies for CVE-2024-6867?
Run the dependency tree command: 'npm ls lunary'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-9jmp-j63g-8x6m",
  "modified" : "2025-06-20T20:01:41Z",
  "published" : "2024-09-13T18:31:48Z",
  "withdrawn" : "2025-06-20T20:00:15Z",
  "aliases" : [ "CVE-2024-6867" ],
  "summary" : "Withdrawn Advisory: Lunary information disclosure vulnerability",
  "details" : "## Withdrawn Advisory\nThis advisory has been withdrawn because the [lunary npm package](https://www.npmjs.com/package/lunary) 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.\n\n**The underlying vulnerability report is still valid**, but it doesn't affect a product in a [GitHub Advisory Database supported ecosystem](https://docs.github.com/en/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-the-github-advisory-database#github-reviewed-advisories).\n\nThis link is maintained to preserve external references.\n\n## Original Description\nAn information disclosure vulnerability exists in the lunary-ai/lunary, specifically in the `runs/{run_id}/related` endpoint. This endpoint does not verify that the user has the necessary access rights to the run(s) they are accessing. As a result, it returns not only the specified run but also all runs that have the `run_id` listed as their parent run. This issue affects the main branch, commit a761d833. The vulnerability allows unauthorized users to obtain information about non-public runs and their related runs, given the `run_id` of a public or non-public run.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "lunary"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.4.10"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-6867"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/lunary-ai/lunary/commit/35afd4439464571eb016318cd7b6f85a162225ca"
  }, {
    "type" : "WEB",
    "url" : "https://huntr.com/bounties/460df515-164c-4435-954b-0233a181545f"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1220" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-09-13T19:34:16Z",
    "nvd_published_at" : "2024-09-13T17:15:13Z"
  }
}