CVE-2024-8763

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductLunary
PublishedMar 20, 2025
First seenMar 20, 2025
Weakness typeCWE-1333CWE-1333

How to fix

Update
  • lunary lunary1.4.23 or later

Affected products

ProductAffected versionsFixed in
lunary lunaryv < 1.4.231.4.23

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.