9.1critical
Missing Authorization on Delete Datasets in lunary-ai/lunary
- Severity
- 9.1critical CVSS:3.0 by @huntr_ai
- Exploit likelihood
- 0.84% (higher than 55% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- @huntr_ai
Description
In lunary-ai/lunary version 1.2.2, the DELETE endpoint located at `packages/backend/src/api/v1/datasets` is vulnerable to unauthorized dataset deletion due to missing authorization and authentication mechanisms. This vulnerability allows any user, even those without a valid token, to delete a dataset by sending a DELETE request to the endpoint. The issue was fixed in version 1.2.8. The impact of this vulnerability is significant as it permits unauthorized users to delete datasets, potentially leading to data loss or disruption of service.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| lunary-ai lunary-ai/lunary | from unspecified before 1.2.8 | CVE List |
| lunary-ai lunary | before 1.2.8 | CVE List |
| lunary lunary | before 1.2.8 | NVD |
All scores
| @huntr_ai | 9.1critical CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
In lunary-ai/lunary version 1.2.2, the DELETE endpoint located at `packages/backend/src/api/v1/datasets` is vulnerable to unauthorized dataset deletion due to missing authorization and authentication mechanisms. This vulnerability allows any user, even those without a valid token, to delete a dataset by sending a DELETE request to the endpoint. The issue was fixed in version 1.2.8. The impact of this vulnerability is significant as it permits unauthorized users to delete datasets, potentially leading to data loss or disruption of service.
NVD (es)
En lunary-ai/lunary versión 1.2.2, el endpoint DELETE ubicado en `packages/backend/src/api/v1/datasets` es vulnerable a la eliminación no autorizada de conjuntos de datos debido a la falta de mecanismos de autorización y autenticación. Esta vulnerabilidad permite que cualquier usuario, incluso aquellos sin un token válido, elimine un conjunto de datos enviando una solicitud DELETE al endpoint. El problema se solucionó en la versión 1.2.8. El impacto de esta vulnerabilidad es significativo ya que permite a usuarios no autorizados eliminar conjuntos de datos, lo que podría provocar la pérdida de datos o la interrupción del servicio.
References
| https://huntr.com/bounties/e95fb0a0-e54a-4da8-a33d-ba858d0cec55 | exploit, issue-tracking, patch, third-party-advisory | |
| https://github.com/lunary-ai/lunary/commit/14078c1d2b8766075bf655f187ece24c7a787776 | patch | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-3761 changed 2024-08-01 | CVE Terms of Use |
| NVD | CVE-2024-3761 changed 2026-06-17 | Public domain |