{"id":"CVE-2021-44790","published":"2021-12-20T00:00:00Z","modified":"2024-08-04T04:32:13Z","title":"Possible buffer overflow when parsing multipart content in mod_lua of Apache HTTP Server 2.4.51 and earlier","vendor":"Apache Software Foundation","product":"Apache HTTP Server","tier":"core","eol":null,"affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache HTTP Server","versions":[">= Apache HTTP Server 2.4, <= 2.4.51"]}],"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"The mod_lua multipart parser in Apache HTTP Server 2.4.51 and earlier contains a buffer overflow, triggered when Lua scripts call r:parsebody() on request bodies. An attacker who can send a specially crafted request body to a server running such a script can cause the overflow, with the attack conditions beyond that (such as authentication or user interaction) not specified in the available data.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:14:40Z"},"cvss":null,"epss":{"score":0.96527,"percentile":0.99926,"date":"2026-11-25","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":4,"pulses":[{"name":"ACTUALIZACION |  Vulnerabilities have been identified in Spring Framework, OpenSSL and Apache HTTP Server shipped with the DS8000 Hardware Management Console (HMC)","url":"https://otx.alienvault.com/pulse/62a2099362e720e668ab2b75","created":"2022-06-09"},{"name":"Oracle Critical Patch Update Advisory - April 2022","url":"https://otx.alienvault.com/pulse/626040216e00cd388b1b9180","created":"2022-04-20"},{"name":"ACTUALIZACION | Posible desreferencia NULL o SSRF en configuraciones de proxy de reenvío en Apache HTTP Server","url":"https://otx.alienvault.com/pulse/621522427033dc1c312b7ec8","created":"2022-02-22"},{"name":"ACTUALIZACIÓN | Múltiples vulnerabilidades en IBM HTTP Server utilizadas por IBM WebSphere Application Server | IBM","url":"https://otx.alienvault.com/pulse/61e179b934a65bfa2015db21","created":"2022-01-14"}],"provenance":"machine"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"references":[{"url":"http://httpd.apache.org/security/vulnerabilities_24.html","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2021/12/20/4","tags":["mailing-list"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BFSWOH4X77CV7AH7C4RMHUBDWKQDL4YH/","tags":["vendor-advisory"]},{"url":"https://www.debian.org/security/2022/dsa-5035","tags":["vendor-advisory"]},{"url":"https://www.oracle.com/security-alerts/cpujan2022.html","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20211224-0001/","tags":[]},{"url":"https://www.tenable.com/security/tns-2022-01","tags":[]},{"url":"https://www.tenable.com/security/tns-2022-03","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RGWILBORT67SHMSLYSQZG2NMXGCMPUZO/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z7H26WJ6TPKNWV3QKY4BHKUKQVUTZJTD/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X73C35MMMZGBVPQQCH7LQZUMYZNQA5FO/","tags":["vendor-advisory"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":[]},{"url":"https://support.apple.com/kb/HT213257","tags":[]},{"url":"https://support.apple.com/kb/HT213256","tags":[]},{"url":"https://support.apple.com/kb/HT213255","tags":[]},{"url":"http://seclists.org/fulldisclosure/2022/May/33","tags":["mailing-list"]},{"url":"http://seclists.org/fulldisclosure/2022/May/35","tags":["mailing-list"]},{"url":"http://seclists.org/fulldisclosure/2022/May/38","tags":["mailing-list"]},{"url":"https://security.gentoo.org/glsa/202208-20","tags":["vendor-advisory"]},{"url":"http://packetstormsecurity.com/files/171631/Apache-2.4.x-Buffer-Overflow.html","tags":[]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2021-31595","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-31595","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":51193,"url":"https://www.exploit-db.com/exploits/51193","title":"Apache 2.4.x - Buffer Overflow","type":"webapps","platform":"multiple","date":"2023-04-01","verified":true,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2023-04-01"},"pocGithub":{"count":2,"skipped":1,"earliest":"2023-12-05","earliestUrl":"https://github.com/nuPacaChi/-CVE-2021-44790","repos":[{"name":"nuPacaChi/-CVE-2021-44790","url":"https://github.com/nuPacaChi/-CVE-2021-44790","stars":4,"created":"2023-12-05"},{"name":"CerberusMrXi/Apache-Lua-Buffer-Overflow-Exploit-CVE-2021-44790","url":"https://github.com/CerberusMrXi/Apache-Lua-Buffer-Overflow-Exploit-CVE-2021-44790","stars":1,"created":"2026-08-04"}]},"first":{"date":"2023-04-01","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/51193"},"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/171631/Apache-2.4.x-Buffer-Overflow.html"],"flow":[],"timeline":[{"date":"2021-12-20","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2021-44790","provenance":"source"},{"date":"2023-04-01","kind":"exploit-public","label":"First public exploit: Exploit-DB (EDB-51193); later: PoC-in-GitHub 2023-12-05","url":"https://www.exploit-db.com/exploits/51193","provenance":"source"}],"speed":{"daysToPublicExploit":467,"firstExploitFrom":"Exploit-DB","daysToKev":null},"priority":{"score":26.6,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.99,"detail":"percentile 0.9993"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 Exploit-DB entry; 1 NVD exploit link; 2 PoC-in-GitHub repos"},{"name":"Mentioned in OTX pulses","points":1.59,"detail":"4 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}