CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2024 · Lunary

CVE-2024-8998
Lunary vulnerability

A Regular Expression Denial of Service (ReDoS) vulnerability exists in lunary-ai/lunary version git f07a845. The server uses the regex /{.*?}/ to match user-controlled strings. In the default JavaScript regex engine, this regex can take polynomial time to match certain crafted user inputs. As a result, an attacker can cause the server to hang for an arbitrary amount of time by submitting a specially crafted payload. This issue is fixed in version 1.4.26.

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.