CVE-2024-8789 Regular Expression Denial of Service (ReDoS) in lunary-ai/lunary
Attackers can cause server unresponsiveness by submitting malicious regular expressions, impacting availability of the Lunary AI application.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-8789?
CVE-2024-8789 is a high-severity denial of service vulnerability in Lunary Lunary, published on 20 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Lunary-ai/lunary version git 105a3f6 is vulnerable to a Regular Expression Denial of Service (ReDoS) attack. The application allows users to upload their own regular expressions, which are then executed on the server side. Certain regular expressions can have exponential runtime complexity relative to the input size, leading to potential denial of service. An attacker can exploit this by submitting a specially crafted regular expression, causing the server to become unresponsive for an arbitrary length of time.
Weakness: CWE-1333
Which versions are affected by CVE-2024-8789?
It affects 1 product.
Products include Lunary Lunary.
How do I fix CVE-2024-8789?
No fix has been published for CVE-2024-8789 yet. Limit exposure of the affected software until one is available.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2024-8789 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-8789 exists.
Other vulnerabilities in Lunary Lunary
- CVE-2024-8999 Improper Access Control in lunary-ai/lunary
- CVE-2024-9095 Improper Authorization in lunary-ai/lunary
- CVE-2024-7456 SQL Injection in lunary-ai/lunary
- CVE-2024-4146 Incorrect Authorization in lunary-ai/lunary
- CVE-2024-5386 Account Hijacking via Password Reset Token Leak in lunary-ai/lunary
Sources
Also known as GHSA-jfm2-hq55-pxgq.