Skip to main content
Public proof of conceptFix available

CVE-2021-44790

A public proof of concept exists; no exploitation attested.

  • Published2021-12-20
  • Fixed in2.4.52
  • WeaknessCWE-787

Am I 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
  1. 2021-12-2012:15CVE publishedNVD
  2. 2023-04-01Exploit-DB entryExploit-DB

Versions per branch

NVD · OSV
Apache HTTP Server
BranchAffectedFixed in
2.4< 2.4.522.4.52
Apple macos
BranchAffectedFixed in
12.x≥ 12.0, < 12.412.4
11.x≥ 11.0, < 11.6.611.6.6
10.15< 10.15.710.15.7
Fedoraproject fedora
BranchAffectedFixed in
34.x= 34no fix published
35.x= 35no fix published
36.x= 36no fix published

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

  • CVE-2021-44790 Red Hat Product Security508 products fixed · 7 known affected

    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

  • ICSA-22-132-02 CISA1 known affected

    Mitsubishi Electric MELSOFT iQ AppPortal

    MELSOFT iQ AppPortal (SW1DND-IQAPL-M): Versions 1.00A through 1.26C

  • RHSA-2022:1136 Red Hat Product Security42 products fixed

    Red Hat Security Advisory: httpd security update

  • RHSA-2022:1139 Red Hat Product Security11 products fixed

    Red Hat Security Advisory: httpd security update

  • RHSA-2022:1137 Red Hat Product Security42 products fixed

    Red Hat Security Advisory: httpd security update

  • RHSA-2022:1138 Red Hat Product Security11 products fixed

    Red Hat Security Advisory: httpd security update

4 more advisories

Full record on NVD

Fix

  1. Update Apache HTTP Server to 2.4.52
  2. 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.
  3. 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.
  4. 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.”
  5. 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.
  6. Mitigation from the vendor CISA ICSA-22-132-02 · 1 productMinimize user privilege for product users.
  7. 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

Detection

read 2026-11-01 01:02 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
EDB-51193
Exploit-DB
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

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?

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.

Is CVE-2021-44790 actively exploited?

Active exploitation of CVE-2021-44790 has not been confirmed. Its EPSS score was 96.5% on 2026-12-03, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2021-44790?

CVE-2021-44790 has a CVSS v3 base score of 9.8 (Critical severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

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

Sources for this record