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)

EPSS: 0.008 (51.6th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

References

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.