Vulnerability in Lunary
CVE-2024-8763
A Regular Expression Denial of Service (ReDoS) vulnerability exists in the lunary-ai/lunary repository, specifically in the compileTextTemplate function. The affected version is git be54057. An attacker can exploit this vulnerability by manipulating the regular expression /{{(.*?)}}/g, causing the server to hang indefinitely and become unresponsive to any requests. This is due to the regular expression's susceptibility to second-degree polynomial time complexity, which can be triggered by a large number of braces in the input.
Vulnerability class: ReDoS (Regular Expression Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.008 (55.1th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 55th percentile — 55.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.008 · newest: 0.008 · change: +0.000
Affected products
- Lunary
- Lunary-Ai Lunary-Ai/lunary — versions unspecified
Weakness classification (CWE)
References
- huntr.com/bounties/4fb63a6e-0056-4550-a34d-e161de1c13b8 (Exploit, Third Party Advisory)
- github.com/lunary-ai/lunary/commit/7ff89b0304d191534b924cf063f3648206d497fa (Patch)
Frequently asked questions
- What is CVE-2024-8763?
- CVE-2024-8763 is a high-severity vulnerability in Lunary, classified under Inefficient Regular Expression Complexity. CVSS score: 7.5/10. Published 2025-03-20.
- How severe is CVE-2024-8763?
- High severity. CVSS v3 base score is 7.5 out of 10.