CVE-2024-8998: lunary-ai - Regular Expression Denial of Service
- Cve: CVE-2024-8998
- Name: lunary-ai - Regular Expression Denial of Service
- 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.
- Impact: Attackers can cause server to hang or become unresponsive, leading to denial of service.
- Remediation: Update to version 1.4.26 or later.
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.00815
- Epss percentile: 0.58006
- Assignee: [email protected]
- Published at: 2025-03-20T10:15:45Z
- Age in days: 614
- Modified at: 2026-06-17T08:23:45Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-8998
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: vulnerability type, requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-1333 | Inefficient Regular Expression Complexity |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://huntr.com/bounties/4dbd8648-1dca-4f95-b74f-978ef030e97e | nvd | 2025-03-20 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/lunary-ai/lunary/commit/f2bfa036caf2c48686474f4560a9c5abcf5f43b7 | nvd | Patch |
| https://huntr.com/bounties/4dbd8648-1dca-4f95-b74f-978ef030e97e | nvd | Exploit |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| lunary:lunary | < 1.4.26 | no | nvd | /v1/products/lunary/lunary |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| lunary-ai/lunary | commit | yes | /v1/repositories/lunary-ai/lunary |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2025-03-20
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts