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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:lunary:lunary:*:*:*:*:*:*:*:*

History

02 Jul 2025, 19:50

Type Values Removed Values Added
References () https://github.com/lunary-ai/lunary/commit/7ff89b0304d191534b924cf063f3648206d497fa - () https://github.com/lunary-ai/lunary/commit/7ff89b0304d191534b924cf063f3648206d497fa - Patch
References () https://huntr.com/bounties/4fb63a6e-0056-4550-a34d-e161de1c13b8 - () https://huntr.com/bounties/4fb63a6e-0056-4550-a34d-e161de1c13b8 - Exploit, Third Party Advisory
First Time Lunary
Lunary lunary
CPE cpe:2.3:a:lunary:lunary:*:*:*:*:*:*:*:*
Summary
  • (es) Existe una vulnerabilidad de denegación de servicio de expresiones regulares (ReDoS) en el repositorio lunary-ai/lunary, concretamente en la función compileTextTemplate. La versión afectada es git be54057. Un atacante puede explotar esta vulnerabilidad manipulando la expresión regular /{{(.*?)}}/g, lo que provoca que el servidor se cuelgue indefinidamente y deje de responder a las solicitudes. Esto se debe a la susceptibilidad de la expresión regular a la complejidad temporal polinómica de segundo grado, que puede activarse por un gran número de llaves en la entrada.

20 Mar 2025, 10:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-03-20 10:15

Updated : 2025-07-02 19:50


NVD link : CVE-2024-8763

Mitre link : CVE-2024-8763

CVE.ORG link : CVE-2024-8763


JSON object : View

Products Affected

lunary

  • lunary
CWE
CWE-400

Uncontrolled Resource Consumption