CVE-2021-44790Possible buffer overflow when parsing multipart content in mod_lua of Apache HTTP Server 2.4.51 and earlier
- 9.8CriticalCVSS base score
- 96.8%Exploitation in 30 daysEPSS · top 0.1% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 1Public exploitsMetasploit, Nuclei and Exploit-DB
Description
A carefully crafted request body can cause a buffer overflow in the mod_lua multipart parser (r:parsebody() called from Lua scripts). The Apache httpd team is not aware of an exploit for the vulnerabilty though it might be possible to craft one. This issue affects Apache HTTP Server 2.4.51 and earlier.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list an Exploit-DB entry for it.
Show the exploits1
Exploit-DB1 entry
- Apache 2.4.x - Buffer Overflow (Exploit-DB entry) (opens in a new tab)
EDB-ID 51193webapps, multiplepublished 1 Apr 2023Verified
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By apache
- 10 days later
· 10 days later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 96.8% · top 0.1% of all CVEs (19 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Affected products
Apache Software Foundation · Apache HTTP Server
- affected Apache HTTP Server 2.4 – ≤ 2.4.51
References
References20
- http://httpd.apache.org/security/vulnerabilities_24.html (opens in a new tab)x_transferred
- [oss-security] 20211220 CVE-2021-44790: Apache HTTP Server: Possible buffer overflow when parsing multipart content in mod_lua of Apache HTTP Server 2.4.51 and earlier (opens in a new tab)mailing-listx_transferred
- FEDORA-2021-29a536c2ae (opens in a new tab)vendor-advisoryx_transferred
- DSA-5035 (opens in a new tab)vendor-advisoryx_transferred
- https://www.oracle.com/security-alerts/cpujan2022.html (opens in a new tab)x_transferred
- https://security.netapp.com/advisory/ntap-20211224-0001/ (opens in a new tab)x_transferred
- https://www.tenable.com/security/tns-2022-01 (opens in a new tab)x_transferred
- https://www.tenable.com/security/tns-2022-03 (opens in a new tab)x_transferred
- FEDORA-2022-b4103753e9 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2022-21264ec6db (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2022-78e3211c55 (opens in a new tab)vendor-advisoryx_transferred
- https://www.oracle.com/security-alerts/cpuapr2022.html (opens in a new tab)x_transferred
- https://support.apple.com/kb/HT213257 (opens in a new tab)x_transferred
- https://support.apple.com/kb/HT213256 (opens in a new tab)x_transferred
- https://support.apple.com/kb/HT213255 (opens in a new tab)x_transferred
- 20220516 APPLE-SA-2022-05-16-4 Security Update 2022-004 Catalina (opens in a new tab)mailing-listx_transferred
- 20220516 APPLE-SA-2022-05-16-3 macOS Big Sur 11.6.6 (opens in a new tab)mailing-listx_transferred
- 20220516 APPLE-SA-2022-05-16-2 macOS Monterey 12.4 (opens in a new tab)mailing-listx_transferred
- GLSA-202208-20 (opens in a new tab)vendor-advisoryx_transferred
- http://packetstormsecurity.com/files/171631/Apache-2.4.x-Buffer-Overflow.html (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-31595 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-44790)Record last updated .