CVE-2021-44790
httpd: mod_lua: Possible buffer overflow when parsing multipart content
Overview
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.
Source: OX vulnerability database
Severity
9.8 · CRITICAL
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-787
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | apache | <2.4.52 | 2.4.52 |
Open a package to see all its vulnerabilities.
Operating systems · 68 fixes
Oracle Linux 2 releases · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | mod-proxy-html +1 | 1:2.4.6-97.0.5.el7_9.4 |
| 7 | httpd +5 | 2.4.6-97.0.5.el7_9.4 |
| 8 | mod-http2 | 1.15.7-3.module+el8.4.0+20024+b87b2deb |
| 8 | mod-md | 1:2.0.8-8.module+el8.5.0+20475+4f6a8fd5 |
| 8 | mod-proxy-html +1 | 1:2.4.37-43.0.1.module+el8.5.0+20475+4f6a8fd5.1 |
| 8 | httpd +6 | 2.4.37-43.0.1.module+el8.5.0+20475+4f6a8fd5.1 |
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | httpd +3 | 2.4.52-1.ph4 |
Red Hat 2 releases · 6 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | httpd24-httpd +5 | 0:2.4.34-23.el7.1 | RHSA-2022:0303 |
| 7 | httpd +5 | 0:2.4.6-45.el7_3.8 | RHSA-2022:1139 |
| 7 | httpd +5 | 0:2.4.6-67.el7_4.9 | RHSA-2022:1138 |
| 7 | httpd +5 | 0:2.4.6-89.el7_6.4 | RHSA-2022:1136 |
| 7 | httpd +5 | 0:2.4.6-90.el7_7.3 | RHSA-2022:1137 |
| 7 | httpd +5 | 0:2.4.6-97.el7_9.4 | RHSA-2022:0143 |
19 more rows
SUSE Linux Enterprise 3 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | apache2 +6 | 2.4.51-35.7.1 | SUSE-SU-2022:0440-1 |
| 15.4 | apache2 +5 | 2.4.66-150400.6.57.1 | SUSE-SU-2026:2686-1 |
| 15.5 | apache2 +5 | 2.4.66-150400.6.57.1 | SUSE-SU-2026:2686-1 |
alma 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 (httpd:2.4) | mod-http2 | 1.15.7-3.module_el8.5.0+2609+b30d9eec |
| 8 (httpd:2.4) | mod-md | 1:2.0.8-8.module_el8.5.0+2609+b30d9eec |
| 8 (httpd:2.4) | mod-proxy-html +1 | 1:2.4.37-43.module_el8.5.0+2609+b30d9eec.1.alma |
| 8 (httpd:2.4) | httpd +6 | 2.4.37-43.module_el8.5.0+2609+b30d9eec.1.alma |
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | apache2 | 2.4.52-r0 |
| 3.23 | apache2 | 2.4.52-r0 |
| 3.24 | apache2 | 2.4.52-r0 |
| edge | apache2 | 2.4.52-r0 |
amazon linux 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | mod-proxy-html +3 | 1:2.4.54-3.amzn2023.0.4 |
| 2023 | httpd +15 | 2.4.54-3.amzn2023.0.4 |
debian 6 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 10 | apache2 | 2.4.38-3+deb10u7 |
| 11 | apache2 | 2.4.52-1~deb11u2 |
| 12 | apache2 | 2.4.52-1 |
| 13 | apache2 | 2.4.52-1 |
| 14 | apache2 | 2.4.52-1 |
| 9 | apache2 | 2.4.25-3+deb9u12 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| apache2 | 2.4.52-1 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | apache2 | 2.4.52-1.1 | openSUSE-SU-2024:11695-1 |
rocky 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 (httpd:2.4) | mod-http2 | 1.15.7-3.module+el8.4.0+553+7a69454b |
| 8 (httpd:2.4) | mod-http2 | 1.15.7-3.module+el8.5.0+695+1fa8055e |
| 8 (httpd:2.4) | mod-md | 1:2.0.8-8.module+el8.4.0+553+7a69454b |
| 8 (httpd:2.4) | mod-md | 1:2.0.8-8.module+el8.5.0+695+1fa8055e |
| 8 (httpd:2.4) | mod-proxy-html +1 | 1:2.4.37-39.module+el8.4.0+571+fd70afb1 |
| 8 (httpd:2.4) | mod-proxy-html +1 | 1:2.4.37-43.module+el8.5.0+714+5ec56ee8 |
2 more rows
root.io debian 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-apache2 | 2.4.52-1 |
| 13 | rootio-apache2 | 2.4.52-1 |
ubuntu 5 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | apache2 | 2.4.29-1ubuntu4.21 |
| 18.04-ESM | apache2 | 2.4.29-1ubuntu4.21 |
| 20.04 | apache2 | 2.4.41-4ubuntu3.9 |
| 20.04-ESM | apache2 | 2.4.41-4ubuntu3.9 |
| 22.04 | apache2 | 2.4.52-1ubuntu1 |
References
- httpd.apache.org http://httpd.apache.org/security/vulnerabilities_24.html
- packetstormsecurity.com http://packetstormsecurity.com/files/171631/Apache-2.4.x-Buffer-Overflow.html
- seclists.org http://seclists.org/fulldisclosure/2022/May/33
- seclists.org http://seclists.org/fulldisclosure/2022/May/35
- seclists.org http://seclists.org/fulldisclosure/2022/May/38
- www.openwall.com http://www.openwall.com/lists/oss-security/2021/12/20/4
- access.redhat.com https://access.redhat.com/security/cve/CVE-2021-44790
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2034674
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44790
- errata.almalinux.org https://errata.almalinux.org/8/ALSA-2022-0258.html
Show all 32 references
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2022:0258
- httpd.apache.org https://httpd.apache.org/security/vulnerabilities_24.html
- linux.oracle.com https://linux.oracle.com/cve/CVE-2021-44790.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2022-0258.html
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BFSWOH4X77CV7AH7C4RMHUBDWKQDL4YH/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RGWILBORT67SHMSLYSQZG2NMXGCMPUZO/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X73C35MMMZGBVPQQCH7LQZUMYZNQA5FO/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z7H26WJ6TPKNWV3QKY4BHKUKQVUTZJTD/
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2021-44790
- security.gentoo.org https://security.gentoo.org/glsa/202208-20
- security.netapp.com https://security.netapp.com/advisory/ntap-20211224-0001/
- support.apple.com https://support.apple.com/kb/HT213255
- support.apple.com https://support.apple.com/kb/HT213256
- support.apple.com https://support.apple.com/kb/HT213257
- ubuntu.com https://ubuntu.com/security/notices/USN-5212-1
- ubuntu.com https://ubuntu.com/security/notices/USN-5212-2
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2021-44790
- www.debian.org https://www.debian.org/security/2022/dsa-5035
- www.oracle.com https://www.oracle.com/security-alerts/cpuapr2022.html
- www.oracle.com https://www.oracle.com/security-alerts/cpujan2022.html
- www.tenable.com https://www.tenable.com/security/tns-2022-01
- www.tenable.com https://www.tenable.com/security/tns-2022-03
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.