Vulnerability in Lunary

CVE-2024-8998

A Regular Expression Denial of Service (ReDoS) vulnerability exists in lunary-ai/lunary version git f07a845. The server uses the regex /{.*?}/ to match user-controlled strings. In the default JavaScript regex engine, this regex can take polynomial time to match certain crafted user inputs. As a result, an attacker can cause the server to hang for an arbitrary amount of time by submitting a specially crafted payload. This issue is fixed in version 1.4.26.

Vulnerability class: ReDoS (Regular Expression Denial of Service)

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

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/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-8998?
CVE-2024-8998 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-8998?
High severity. CVSS v3 base score is 7.5 out of 10.