{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "0.5.8-1"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "ce365f63cf9a9f31e8e12bacc75f4e3b6e91f756"
            },
            {
              "fixed": "d632e5df43a2928fd537784a99a79dec288bf01b"
            },
            {
              "fixed": "46d7804efa69146abc39415254687b5a7b507fe1"
            }
          ],
          "repo": "https://github.com/kong/lua-multipart",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "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.",
  "id": "CVE-2020-36661",
  "modified": "2026-04-01T23:09:02.852587557Z",
  "published": "2023-02-12T21:15:10.650Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/?id.220642"
    },
    {
      "type": "REPORT",
      "url": "https://vuldb.com/?ctiid.220642"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Kong/lua-multipart/pull/34"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Kong/lua-multipart/releases/tag/0.5.9-1"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Kong/lua-multipart/commit/d632e5df43a2928fd537784a99a79dec288bf01b"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ]
}