Regular Expression Denial of Service (ReDoS) in lunary-ai/lunary
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.0 · CNA. Fix status from CNA. Impact type from CWE-1333.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA lunary-ai/lunary (lunary-ai) Fixed in 1.4.23
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
lunary-ai/lunary 1.4.23
4 records Highest priority Priority HIGH 4 HIGH
Other records, highest priority first
- TI-2024-08155 Regular Expression Denial of Service (ReDoS) in lunary-ai/lunaryPriority HIGH 72
- TI-2024-08130 Improper Authorization in lunary-ai/lunaryPriority HIGH 72
- TI-2024-08131 Improper Path Equivalence Resolution in lunary-ai/lunaryPriority HIGH 71
Timeline
- 2026-10-02 Threatist record created from CVE-2024-8763
- 2026-10-03 Alias added: GHSA-jqgv-3ch9-c9qv
References
More lunary-ai Lunary vulnerabilities
- TI-2024-08445 Improper Authorization in lunary-ai/lunary CVSS 3.1CRITICAL 9.8
- TI-2024-06910 SQL Injection in lunary-ai/lunary CVSS 3.1CRITICAL 9.8
- TI-2024-03859 Incorrect Authorization in lunary-ai/lunary CVSS 3.1CRITICAL 9.8
- TI-2024-06928 Improper Access Control in lunary-ai/lunary CVSS 3.1CRITICAL 9.1
- TI-2024-03267 Exposure of Sensitive Information in lunary-ai/lunary CVSS 3.1CRITICAL 9.1
- TI-2024-03266 Exposure of Sensitive Information in lunary-ai/lunary CVSS 3.1CRITICAL 9.1
Sources
- CVE-2024-8763 · CVE Program
- CVE-2024-8763 · NVD
- FIRST EPSS
- GHSA-jqgv-3ch9-c9qv · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences