CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2024 · Lunary

CVE-2024-8763
Lunary vulnerability

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.

Affected products

Lunary. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Lunary runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Lunary products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.