{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2024-8998",
        "assignerOrgId": "c09c270a-b464-47c1-9133-acb35b22c19a",
        "state": "PUBLISHED",
        "assignerShortName": "@huntr_ai",
        "dateReserved": "2024-09-19T13:24:21.025Z",
        "datePublished": "2025-03-20T10:11:04.121Z",
        "dateUpdated": "2025-04-04T08:45:38.448Z"
    },
    "containers": {
        "cna": {
            "title": "Regular Expression Denial of Service (ReDoS) in lunary-ai/lunary",
            "providerMetadata": {
                "orgId": "c09c270a-b464-47c1-9133-acb35b22c19a",
                "shortName": "@huntr_ai",
                "dateUpdated": "2025-04-04T08:45:38.448Z"
            },
            "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",
                            "lessThan": "1.4.26",
                            "status": "affected",
                            "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": [
                        {
                            "type": "CWE",
                            "lang": "en",
                            "description": "CWE-1333 Inefficient Regular Expression Complexity",
                            "cweId": "CWE-1333"
                        }
                    ]
                }
            ],
            "source": {
                "advisory": "4dbd8648-1dca-4f95-b74f-978ef030e97e",
                "discovery": "EXTERNAL"
            }
        },
        "adp": [
            {
                "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"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2025-03-20T15:48:48.598Z"
                }
            }
        ]
    }
}