CVE-2021-44790
A public proof of concept exists; no exploitation attested.
- Published2021-12-20
- Fixed in2.4.52
- WeaknessCWE-787
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2021-12-2012:15CVE publishedNVD
- 2023-04-01Exploit-DB entryExploit-DB
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.4 | < 2.4.52 | 2.4.52 | NVD · OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 12.x | ≥ 12.0, < 12.4 | 12.4 | NVD |
| 11.x | ≥ 11.0, < 11.6.6 | 11.6.6 | NVD |
| 10.15 | < 10.15.7 | 10.15.7 | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 34.x | = 34 | no fix published | NVD |
| 35.x | = 35 | no fix published | NVD |
| 36.x | = 36 | no fix published | NVD |
11 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- apacheMageia:8all versions · fixed in 2.4.52-1.mga8
- apache2Ubuntu:Pro:16.04:LTSall versions · fixed in 2.4.18-2ubuntu3.17+esm4
- apache2Ubuntu:Pro:14.04:LTSall versions · fixed in 2.4.7-1ubuntu4.22+esm3
- apache2Ubuntu:22.04:LTSall versions · fixed in 2.4.52-1ubuntu1
- apache2Ubuntu:20.04:LTSall versions · fixed in 2.4.41-4ubuntu3.9
- apache2Ubuntu:18.04:LTSall versions · fixed in 2.4.29-1ubuntu4.21
- apache2SUSE:OpenStack Cloud Crowbar 9all versions · fixed in 2.4.23-29.83.1
- apache2SUSE:OpenStack Cloud Crowbar 8all versions · fixed in 2.4.23-29.83.1
124 more package ranges on OSV.dev
Vendor advisories
httpd: mod_lua: Possible buffer overflow when parsing multipart content
httpd as a component of Red Hat JBoss Enterprise Application Platform 6 · httpd-devel as a component of Red Hat JBoss Enterprise Application Platform 6 · httpd-manual as a component of Red Hat JBoss Enterprise Application Platform 6 · +4 more
Mitsubishi Electric MELSOFT iQ AppPortal
MELSOFT iQ AppPortal (SW1DND-IQAPL-M): Versions 1.00A through 1.26C
Red Hat Security Advisory: httpd security update
Red Hat Security Advisory: httpd security update
Red Hat Security Advisory: httpd security update
Red Hat Security Advisory: httpd security update
4 more advisories
Fix
- Update Apache HTTP Server to 2.4.52
- Vendor fix Red Hat Product Security RHSA-2022:1136 · 42 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 After installing the updated packages, the httpd daemon will be restarted automatically.
- Workaround from the vendor Red Hat Product Security RHSA-2022:1136 · 42 productsDisabling mod_lua and restarting httpd will mitigate this flaw. See https://access.redhat.com/articles/10649 for more information.
- Mitigation from the vendor CISA ICSA-22-132-02 · 1 productUpdate to 1.29F or later. Unzip the downloaded file (zip format) and execute the file “setup.exe.”
- Mitigation from the vendor CISA ICSA-22-132-02 · 1 productRestrict network access to the computer running this product so it can be accessed only from trusted networks or hosts.
- Mitigation from the vendor CISA ICSA-22-132-02 · 1 productMinimize user privilege for product users.
- Mitigation from the vendor CISA ICSA-22-132-02 · 1 productInstall an antivirus software in the personal computer that runs this product.
Advisories and patches
- httpd.apache.orgVendor Advisory
- www.oracle.comPatch
- www.oracle.comPatch
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- none so far ProjectDiscovery
- Proof of concept
- PoC-in-GitHub3 repositories, unverifiedknown since 2026-11-01nuPacaChi/-CVE-2021-44790CerberusMrXi/Apache-Lua-Buffer-Overflow-Exploit-CVE-2021-44790MohammadAliMehri/cve-2021-44790-lab
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVSS 3.19.8read 2026-10-23
- NVDCVSS 2.07.5read 2026-10-23
- CNAweakness (CWE)CWE-787known since 2026-10-23
- NVDweakness (CWE)CWE-787read 2026-10-23
- FIRST EPSSEPSS score96.5 %read 2026-12-04
- PoC-in-GitHubproof of concept3known since 2026-11-01
- Exploit-DBdetectionread 2026-12-04
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- AZL-7044same flawAzure Linux · MIT
- BIT-apache-2021-44790same flawBitnami · Apache-2.0
- EUVD-2021-31595same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-c547-2659-q37gsame flawGitHub Advisory Database · CC-BY-4.0
- ALSA-2022:0258advisory covering several CVEsAlmaLinux · MIT
- DLA-2907-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-5035-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2021-0577advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2021-1473advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2022:0091-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11695-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2022:0143advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:0258advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:0288advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:0303advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:1136advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:1137advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:1138advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:1139advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2022:0258advisory covering several CVEsRocky Linux · BSD-3-Clause
- SUSE-SU-2022:0065-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:0091-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:0091-2advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:0119-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:0440-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2026:2686-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-5212-1advisory covering several CVEsUbuntu
- USN-5212-2advisory covering several CVEsUbuntu
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- 2021-12-20
- Last modified
- 2026-06-17
- NVD status
- Analyzed
- GitHub advisory
- GHSA-c547-2659-q37g
Frequently asked questions
What is CVE-2021-44790?
Is CVE-2021-44790 actively exploited?
What is the CVSS score for CVE-2021-44790?
Running Apache HTTP Server? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CISA ICS advisories (CSAF) · Public domain (US Government work)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- Exploit-DB · Exploit-DB terms of service · terms restrict redistribution
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-c547-2659-q37g
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0