{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2020-36661",
        "assignerOrgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
        "state": "PUBLISHED",
        "assignerShortName": "VulDB",
        "dateReserved": "2023-02-11T17:31:22.590Z",
        "datePublished": "2023-02-12T20:31:03.522Z",
        "dateUpdated": "2024-08-04T17:30:08.594Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
                "shortName": "VulDB",
                "dateUpdated": "2023-10-20T13:22:27.759Z"
            },
            "title": "Kong lua-multipart multipart.lua is_header redos",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "CWE",
                            "cweId": "CWE-1333",
                            "lang": "en",
                            "description": "CWE-1333 Inefficient Regular Expression Complexity"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "Kong",
                    "product": "lua-multipart",
                    "versions": [
                        {
                            "version": "0.5.8-1",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "A vulnerability was found in Kong lua-multipart 0.5.8-1. It has been declared as problematic. This vulnerability affects the function is_header of the file src/multipart.lua. The manipulation leads to inefficient regular expression complexity. Upgrading to version 0.5.9-1 is able to address this issue. The patch is identified as d632e5df43a2928fd537784a99a79dec288bf01b. It is recommended to upgrade the affected component. VDB-220642 is the identifier assigned to this vulnerability."
                },
                {
                    "lang": "de",
                    "value": "In Kong lua-multipart 0.5.8-1 wurde eine Schwachstelle ausgemacht. Sie wurde als problematisch eingestuft. Betroffen ist die Funktion is_header der Datei src/multipart.lua. Durch Manipulation mit unbekannten Daten kann eine inefficient regular expression complexity-Schwachstelle ausgenutzt werden. Ein Aktualisieren auf die Version 0.5.9-1 vermag dieses Problem zu lösen. Der Patch wird als d632e5df43a2928fd537784a99a79dec288bf01b bezeichnet. Als bestmögliche Massnahme wird das Einspielen eines Upgrades empfohlen."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "baseScore": 3.5,
                        "vectorString": "CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L",
                        "baseSeverity": "LOW"
                    }
                },
                {
                    "cvssV3_0": {
                        "version": "3.0",
                        "baseScore": 3.5,
                        "vectorString": "CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L",
                        "baseSeverity": "LOW"
                    }
                },
                {
                    "cvssV2_0": {
                        "version": "2.0",
                        "baseScore": 2.7,
                        "vectorString": "AV:A/AC:L/Au:S/C:N/I:N/A:P"
                    }
                }
            ],
            "timeline": [
                {
                    "time": "2023-02-11T00:00:00.000Z",
                    "lang": "en",
                    "value": "Advisory disclosed"
                },
                {
                    "time": "2023-02-11T00:00:00.000Z",
                    "lang": "en",
                    "value": "CVE reserved"
                },
                {
                    "time": "2023-02-11T01:00:00.000Z",
                    "lang": "en",
                    "value": "VulDB entry created"
                },
                {
                    "time": "2023-03-10T09:29:05.000Z",
                    "lang": "en",
                    "value": "VulDB entry last update"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "VulDB GitHub Commit Analyzer",
                    "type": "tool"
                }
            ],
            "references": [
                {
                    "url": "https://vuldb.com/?id.220642",
                    "tags": [
                        "vdb-entry",
                        "technical-description"
                    ]
                },
                {
                    "url": "https://vuldb.com/?ctiid.220642",
                    "tags": [
                        "signature",
                        "permissions-required"
                    ]
                },
                {
                    "url": "https://github.com/Kong/lua-multipart/pull/34",
                    "tags": [
                        "issue-tracking"
                    ]
                },
                {
                    "url": "https://github.com/Kong/lua-multipart/commit/d632e5df43a2928fd537784a99a79dec288bf01b",
                    "tags": [
                        "patch"
                    ]
                },
                {
                    "url": "https://github.com/Kong/lua-multipart/releases/tag/0.5.9-1",
                    "tags": [
                        "patch"
                    ]
                }
            ]
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-04T17:30:08.594Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://vuldb.com/?id.220642",
                        "tags": [
                            "vdb-entry",
                            "technical-description",
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://vuldb.com/?ctiid.220642",
                        "tags": [
                            "signature",
                            "permissions-required",
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://github.com/Kong/lua-multipart/pull/34",
                        "tags": [
                            "issue-tracking",
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://github.com/Kong/lua-multipart/commit/d632e5df43a2928fd537784a99a79dec288bf01b",
                        "tags": [
                            "patch",
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://github.com/Kong/lua-multipart/releases/tag/0.5.9-1",
                        "tags": [
                            "patch",
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}