CVE-2024-8763CWE-1333

Regular Expression Denial of Service (ReDoS) in lunary-ai/lunary

High · published March 20, 2025

CVSS v3.0
7.5
EPSS
1%
Percentile
56.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.0
7.5 · HIGH
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00824 · 56.9th percentile
Weakness
CWE-1333 · Inefficient Regular Expression Complexity
Published
2025-03-20T10:08Z
EPSS history
Timeline
  • 20 MAR 10:08Z
    Regular Expression Denial of Service (ReDoS) in lunary-ai/lunary
    cvelistv5