Skip to main content
← All vulnerabilities
CVE-2024-8763

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.4.23
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • lunary-ai lunary-ai/lunary

    fixed in 1.4.23

References 2

huntr.com

GitHub · lunary-ai/lunary