CVE-2024-8763 Details
Description
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.
A Regular Expression Denial-of-Service (ReDoS) vulnerability has been identified in the Lunary AI repository, specifically in the 'compileTextTemplate' function of the backend package. This vulnerability affects version 'git be54057'. The issue arises from the regular expression '/{{(.*?)}}/g', which is vulnerable to catastrophic backtracking. An attacker can exploit this by crafting input with a high density of braces, leading to excessive backtracking, causing the server to hang indefinitely and become unresponsive to requests. This behavior has been confirmed through testing, where the server's response time increased exponentially with the number of braces, eventually leading to a complete hang.
Users can update to Lunary version 1.4.23 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 20, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/lunary-ai/lunary/commit/7ff89b0304d191534b924cf063f3648206d497fa | [email protected] | Patch |
| https://huntr.com/bounties/4fb63a6e-0056-4550-a34d-e161de1c13b8 | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1333 | Inefficient Regular Expression Complexity | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| lunary lunary | < 1.4.23 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 15, 2025 | CVE Modified | [email protected] |
| Jul 2, 2025 | Initial Analysis | [email protected] |
| Mar 20, 2025 | New CVE Received | [email protected] |