CVE-2024-6867: Lunary information disclosure vulnerability
4.3
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.25069%
CWE
Published
9/13/2024
Updated
9/13/2024
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| lunary | npm | < 1.4.10 | 1.4.10 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from the route handler for the /runs/{id}/related endpoint. Analysis of the commit diff shows the original SQL query (lines 586-598) did not include 'project_id = ${projectId}' in the WHERE clause, allowing retrieval of runs from any project through parent_run_id relationships. The handler failed to properly scope results to the user's authorized project, violating access control requirements. The confidence is high as the fix explicitly adds project_id validation to constrain results.