{"id":"CVE-2024-8998","state":"PUBLISHED","title":"Regular Expression Denial of Service (ReDoS) in lunary-ai/lunary","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.","publishedAt":"2025-03-20T10:11:04.121Z","updatedAt":"2025-04-04T08:45:38.448Z","severity":{"score":7.5,"label":"High","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"@huntr_ai"},"assigner":"@huntr_ai","products":["lunary-ai lunary-ai/lunary"],"affected":[{"vendor":"lunary-ai","product":"lunary-ai/lunary","versions":[{"version":"unspecified","status":"affected","lessThan":"1.4.26","versionType":"custom"}]}],"references":["https://huntr.com/bounties/4dbd8648-1dca-4f95-b74f-978ef030e97e","https://github.com/lunary-ai/lunary/commit/f2bfa036caf2c48686474f4560a9c5abcf5f43b7"],"weaknesses":["CWE-1333"],"ingestedAt":"2026-10-29T20:08:20.985Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/8xxx/CVE-2024-8998.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-8998","state":"PUBLISHED","datePublished":"2025-03-20T10:11:04.121Z","dateUpdated":"2025-04-04T08:45:38.448Z","assignerShortName":"@huntr_ai","assignerOrgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateReserved":"2024-09-19T13:24:21.025Z"},"containers":{"cna":{"title":"Regular Expression Denial of Service (ReDoS) in lunary-ai/lunary","descriptions":[{"lang":"en","value":"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":[{"vendor":"lunary-ai","product":"lunary-ai/lunary","versions":[{"version":"unspecified","status":"affected","lessThan":"1.4.26","versionType":"custom"}]}],"references":[{"url":"https://huntr.com/bounties/4dbd8648-1dca-4f95-b74f-978ef030e97e"},{"url":"https://github.com/lunary-ai/lunary/commit/f2bfa036caf2c48686474f4560a9c5abcf5f43b7"}],"metrics":[{"cvssV3_0":{"version":"3.0","attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1333","type":"CWE","lang":"en","description":"CWE-1333 Inefficient Regular Expression Complexity"}]}],"providerMetadata":{"shortName":"@huntr_ai","orgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateUpdated":"2025-04-04T08:45:38.448Z"},"source":{"advisory":"4dbd8648-1dca-4f95-b74f-978ef030e97e","discovery":"EXTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://huntr.com/bounties/4dbd8648-1dca-4f95-b74f-978ef030e97e","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-03-20T15:48:34.726435Z","id":"CVE-2024-8998","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-03-20T15:48:48.598Z"}}]}}}