What’s Vulnerable › Vulnerabilities

CVE-2024-5129: Privilege Escalation Vulnerability in lunary-ai/lunary

Description

A Privilege Escalation Vulnerability exists in lunary-ai/lunary version 1.2.2, where any user can delete any datasets due to missing authorization checks. The vulnerability is present in the dataset deletion functionality, where the application fails to verify if the user requesting the deletion has the appropriate permissions. This allows unauthorized users to send a DELETE request to the server and delete any dataset by specifying its ID. The issue is located in the datasets.delete function within the datasets index file.

Affected products

How to fix

Upgrade to a fixed version: lunary-ai/lunary 1.2.8. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-5129 or the next vulnerability affects your stack