CVE-2024-8789 Regular Expression Denial of Service (ReDoS) in lunary-ai/lunary
HighCVSS 7.5
EPSS 0.82%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| lunary | < 1.4.23 | 1.4.23 | Fixed |
| lunary-ai/lunary | < 1.4.23 | 1.4.23 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| lunary-ai/lunary | < 1.4.23 | 1.4.23 |
| lunary | < 1.4.23 | 1.4.23 |
References
- huntr.com exploit third-party-advisory
- github.com patch