7.5high
Regular Expression Denial of Service (ReDoS) in lunary-ai/lunary
- Severity
- 7.5high CVSS:3.0 by @huntr_ai
- Exploit likelihood
- 0.81% (higher than 58% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- @huntr_ai
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| lunary-ai lunary-ai/lunary | from unspecified before 1.4.26 | CVE List |
| lunary lunary | before 1.4.26 | NVD |
All scores
| @huntr_ai | 7.5high CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Existe una vulnerabilidad de denegación de servicio por expresión regular (ReDoS) en la versión git f07a845 de lunary-ai/lunary. El servidor utiliza la expresión regular /{.*?}/ para coincidir con cadenas controladas por el usuario. En el motor de expresiones regulares predeterminado de JavaScript, esta expresión regular puede tardar un tiempo polinómico en coincidir con ciertas entradas de usuario manipuladas. Como resultado, un atacante puede provocar que el servidor se bloquee durante un tiempo arbitrario enviando un payload especialmente manipulada. Este problema se solucionó en la versión 1.4.26.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-8998 changed 2025-04-04 | CVE Terms of Use |
| NVD | CVE-2024-8998 changed 2026-06-17 | Public domain |