PT-2025-12257 · Lunary Ai · Lunary

Published

2025-03-20

·

Updated

2025-04-04

·

CVE-2024-8998

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions lunary-ai/lunary version git f07a845 lunary-ai/lunary versions prior to 1.4.26
Description A Regular Expression Denial of Service (ReDoS) vulnerability exists in the server, which 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.
Recommendations For lunary-ai/lunary version git f07a845, update to version 1.4.26 to resolve the issue. For lunary-ai/lunary versions prior to 1.4.26, update to version 1.4.26 to resolve the issue. As a temporary workaround, consider restricting the use of the regex /{.*?}/ to minimize the risk of exploitation.

Exploit

Fix

DoS

Resource Exhaustion

Weakness Enumeration

Related Identifiers

CVE-2024-8998

Affected Products

Lunary