CVE-2021-44790
httpd: mod_lua: Possible buffer overflow when parsing multipart content
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, Bitnami, CBL-Mariner, Photon OS. Rated lower by Red Hat (high), AlmaLinux (high), Amazon (high), Oracle (high), Rocky Linux (high), Ubuntu (medium).
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| bitnami::Bitnami Vulnerability Database | apache | 2.4.52 |
| CBL-Mariner 1.0 | httpd | 0:2.4.52-1.cm1 |
| CBL-Mariner 2.0 | httpd | 0:2.4.52-1.cm2 |
| Photon OS 1.0 | httpd | 2.4.52-1.ph1 |
| Photon OS 2.0 | httpd | 2.4.52-1.ph2 |
| Photon OS 3.0 | httpd | 2.4.52-1.ph3 |
| Photon OS 4.0 | httpd, httpd-devel, httpd-docs and 1 more | 2.4.52-1.ph4 |
| alma 8 | httpd:2.4::httpd, httpd:2.4::httpd-devel, httpd:2.4::httpd-filesystem and 8 more | 2.4.37-43.module_el8.5.0+2609+b30d9eec.1.alma and 3 more |
| alpine 3.12 | apache2 | 2.4.52-r0 |
| alpine 3.13 | apache2 | 2.4.52-r0 |
| alpine 3.14 | apache2 | 2.4.52-r0 |
| alpine 3.15 | apache2 | 2.4.52-r0 |
Show all 144 entries from 47 sources
| Source | Package | Fixed in |
|---|---|---|
| bitnami::Bitnami Vulnerability Database | apache | 2.4.52 |
| CBL-Mariner 1.0 | httpd | 0:2.4.52-1.cm1 |
| CBL-Mariner 2.0 | httpd | 0:2.4.52-1.cm2 |
| Photon OS 1.0 | httpd | 2.4.52-1.ph1 |
| Photon OS 2.0 | httpd | 2.4.52-1.ph2 |
| Photon OS 3.0 | httpd | 2.4.52-1.ph3 |
| Photon OS 4.0 | httpd | 2.4.52-1.ph4 |
| Photon OS 4.0 | httpd-devel | 2.4.52-1.ph4 |
| Photon OS 4.0 | httpd-docs | 2.4.52-1.ph4 |
| Photon OS 4.0 | httpd-tools | 2.4.52-1.ph4 |
| alma 8 | httpd:2.4::httpd | 2.4.37-43.module_el8.5.0+2609+b30d9eec.1.alma |
| alma 8 | httpd:2.4::httpd-devel | 2.4.37-43.module_el8.5.0+2609+b30d9eec.1.alma |
| alma 8 | httpd:2.4::httpd-filesystem | 2.4.37-43.module_el8.5.0+2609+b30d9eec.1.alma |
| alma 8 | httpd:2.4::httpd-manual | 2.4.37-43.module_el8.5.0+2609+b30d9eec.1.alma |
| alma 8 | httpd:2.4::httpd-tools | 2.4.37-43.module_el8.5.0+2609+b30d9eec.1.alma |
| alma 8 | httpd:2.4::mod_http2 | 1.15.7-3.module_el8.5.0+2609+b30d9eec |
| alma 8 | httpd:2.4::mod_ldap | 2.4.37-43.module_el8.5.0+2609+b30d9eec.1.alma |
| alma 8 | httpd:2.4::mod_md | 1:2.0.8-8.module_el8.5.0+2609+b30d9eec |
| alma 8 | httpd:2.4::mod_proxy_html | 1:2.4.37-43.module_el8.5.0+2609+b30d9eec.1.alma |
| alma 8 | httpd:2.4::mod_session | 2.4.37-43.module_el8.5.0+2609+b30d9eec.1.alma |
| alma 8 | httpd:2.4::mod_ssl | 1:2.4.37-43.module_el8.5.0+2609+b30d9eec.1.alma |
| alpine 3.12 | apache2 | 2.4.52-r0 |
| alpine 3.13 | apache2 | 2.4.52-r0 |
| alpine 3.14 | apache2 | 2.4.52-r0 |
| alpine 3.15 | apache2 | 2.4.52-r0 |
| alpine 3.16 | apache2 | 2.4.52-r0 |
| alpine 3.17 | apache2 | 2.4.52-r0 |
| alpine 3.18 | apache2 | 2.4.52-r0 |
| alpine 3.19 | apache2 | 2.4.52-r0 |
| alpine 3.20 | apache2 | 2.4.52-r0 |
| alpine 3.21 | apache2 | 2.4.52-r0 |
| alpine 3.22 | apache2 | 2.4.52-r0 |
| alpine 3.23 | apache2 | 2.4.52-r0 |
| alpine 3.24 | apache2 | 2.4.52-r0 |
| alpine edge | apache2 | 2.4.52-r0 |
| amazon linux 1 | httpd24 | 2.4.52-1.95.amzn1 |
| amazon linux 1 | httpd24-debuginfo | 2.4.52-1.95.amzn1 |
| amazon linux 1 | httpd24-devel | 2.4.52-1.95.amzn1 |
| amazon linux 1 | httpd24-manual | 2.4.52-1.95.amzn1 |
| amazon linux 1 | httpd24-tools | 2.4.52-1.95.amzn1 |
| amazon linux 1 | mod24_ldap | 2.4.52-1.95.amzn1 |
| amazon linux 1 | mod24_md | 2.4.52-1.95.amzn1 |
| amazon linux 1 | mod24_proxy_html | 1:2.4.52-1.95.amzn1 |
| amazon linux 1 | mod24_session | 2.4.52-1.95.amzn1 |
| amazon linux 1 | mod24_ssl | 1:2.4.52-1.95.amzn1 |
| amazon linux 2 | httpd | 2.4.52-1.amzn2 |
| amazon linux 2 | httpd-debuginfo | 2.4.52-1.amzn2 |
| amazon linux 2 | httpd-devel | 2.4.52-1.amzn2 |
| amazon linux 2 | httpd-filesystem | 2.4.52-1.amzn2 |
| amazon linux 2 | httpd-manual | 2.4.52-1.amzn2 |
| amazon linux 2 | httpd-tools | 2.4.52-1.amzn2 |
| amazon linux 2 | mod_ldap | 2.4.52-1.amzn2 |
| amazon linux 2 | mod_md | 2.4.52-1.amzn2 |
| amazon linux 2 | mod_proxy_html | 1:2.4.52-1.amzn2 |
| amazon linux 2 | mod_session | 2.4.52-1.amzn2 |
| amazon linux 2 | mod_ssl | 1:2.4.52-1.amzn2 |
| amazon linux 2022 | httpd | 2.4.54-3.amzn2022.0.3 |
| amazon linux 2022 | httpd-core | 2.4.54-3.amzn2022.0.3 |
| amazon linux 2022 | httpd-core-debuginfo | 2.4.54-3.amzn2022.0.3 |
| amazon linux 2022 | httpd-debuginfo | 2.4.54-3.amzn2022.0.3 |
| amazon linux 2022 | httpd-debugsource | 2.4.54-3.amzn2022.0.3 |
| amazon linux 2022 | httpd-devel | 2.4.54-3.amzn2022.0.3 |
| amazon linux 2022 | httpd-filesystem | 2.4.54-3.amzn2022.0.3 |
| amazon linux 2022 | httpd-manual | 2.4.54-3.amzn2022.0.3 |
| amazon linux 2022 | httpd-tools | 2.4.54-3.amzn2022.0.3 |
| amazon linux 2022 | httpd-tools-debuginfo | 2.4.54-3.amzn2022.0.3 |
| amazon linux 2022 | mod_ldap | 2.4.54-3.amzn2022.0.3 |
| amazon linux 2022 | mod_ldap-debuginfo | 2.4.54-3.amzn2022.0.3 |
| amazon linux 2022 | mod_lua | 2.4.54-3.amzn2022.0.3 |
| amazon linux 2022 | mod_lua-debuginfo | 2.4.54-3.amzn2022.0.3 |
| amazon linux 2022 | mod_proxy_html | 1:2.4.54-3.amzn2022.0.3 |
| amazon linux 2022 | mod_proxy_html-debuginfo | 1:2.4.54-3.amzn2022.0.3 |
| amazon linux 2022 | mod_session | 2.4.54-3.amzn2022.0.3 |
| amazon linux 2022 | mod_session-debuginfo | 2.4.54-3.amzn2022.0.3 |
| amazon linux 2022 | mod_ssl | 1:2.4.54-3.amzn2022.0.3 |
| amazon linux 2022 | mod_ssl-debuginfo | 1:2.4.54-3.amzn2022.0.3 |
| amazon linux 2023 | httpd | 2.4.54-3.amzn2023.0.4 |
| amazon linux 2023 | httpd-core | 2.4.54-3.amzn2023.0.4 |
| amazon linux 2023 | httpd-core-debuginfo | 2.4.54-3.amzn2023.0.4 |
| amazon linux 2023 | httpd-debuginfo | 2.4.54-3.amzn2023.0.4 |
| amazon linux 2023 | httpd-debugsource | 2.4.54-3.amzn2023.0.4 |
| amazon linux 2023 | httpd-devel | 2.4.54-3.amzn2023.0.4 |
| amazon linux 2023 | httpd-filesystem | 2.4.54-3.amzn2023.0.4 |
| amazon linux 2023 | httpd-manual | 2.4.54-3.amzn2023.0.4 |
| amazon linux 2023 | httpd-tools | 2.4.54-3.amzn2023.0.4 |
| amazon linux 2023 | httpd-tools-debuginfo | 2.4.54-3.amzn2023.0.4 |
| amazon linux 2023 | mod_ldap | 2.4.54-3.amzn2023.0.4 |
| amazon linux 2023 | mod_ldap-debuginfo | 2.4.54-3.amzn2023.0.4 |
| amazon linux 2023 | mod_lua | 2.4.54-3.amzn2023.0.4 |
| amazon linux 2023 | mod_lua-debuginfo | 2.4.54-3.amzn2023.0.4 |
| amazon linux 2023 | mod_proxy_html | 1:2.4.54-3.amzn2023.0.4 |
| amazon linux 2023 | mod_proxy_html-debuginfo | 1:2.4.54-3.amzn2023.0.4 |
| amazon linux 2023 | mod_session | 2.4.54-3.amzn2023.0.4 |
| amazon linux 2023 | mod_session-debuginfo | 2.4.54-3.amzn2023.0.4 |
| amazon linux 2023 | mod_ssl | 1:2.4.54-3.amzn2023.0.4 |
| amazon linux 2023 | mod_ssl-debuginfo | 1:2.4.54-3.amzn2023.0.4 |
| debian 10 | apache2 | 2.4.38-3+deb10u7 |
| debian 11 | apache2 | 2.4.52-1~deb11u2 |
| debian 12 | apache2 | 2.4.52-1 |
| debian 13 | apache2 | 2.4.52-1 |
| debian 14 | apache2 | 2.4.52-1 |
| debian 9 | apache2 | 2.4.25-3+deb9u12 |
| echo | apache2 | 2.4.52-1 |
| Oracle Linux 7 | httpd | 2.4.6-97.0.5.el7_9.4 |
| Oracle Linux 7 | httpd-devel | 2.4.6-97.0.5.el7_9.4 |
| Oracle Linux 7 | httpd-manual | 2.4.6-97.0.5.el7_9.4 |
| Oracle Linux 7 | httpd-tools | 2.4.6-97.0.5.el7_9.4 |
| Oracle Linux 7 | mod_ldap | 2.4.6-97.0.5.el7_9.4 |
| Oracle Linux 7 | mod_proxy_html | 1:2.4.6-97.0.5.el7_9.4 |
| Oracle Linux 7 | mod_session | 2.4.6-97.0.5.el7_9.4 |
| Oracle Linux 7 | mod_ssl | 1:2.4.6-97.0.5.el7_9.4 |
| Oracle Linux 8 | httpd | 2.4.37-43.0.1.module+el8.5.0+20475+4f6a8fd5.1 |
| Oracle Linux 8 | httpd-devel | 2.4.37-43.0.1.module+el8.5.0+20475+4f6a8fd5.1 |
| Oracle Linux 8 | httpd-filesystem | 2.4.37-43.0.1.module+el8.5.0+20475+4f6a8fd5.1 |
| Oracle Linux 8 | httpd-manual | 2.4.37-43.0.1.module+el8.5.0+20475+4f6a8fd5.1 |
| Oracle Linux 8 | httpd-tools | 2.4.37-43.0.1.module+el8.5.0+20475+4f6a8fd5.1 |
| Oracle Linux 8 | mod_http2 | 1.15.7-3.module+el8.4.0+20024+b87b2deb |
| Oracle Linux 8 | mod_ldap | 2.4.37-43.0.1.module+el8.5.0+20475+4f6a8fd5.1 |
| Oracle Linux 8 | mod_md | 1:2.0.8-8.module+el8.5.0+20475+4f6a8fd5 |
| Oracle Linux 8 | mod_proxy_html | 1:2.4.37-43.0.1.module+el8.5.0+20475+4f6a8fd5.1 |
| Oracle Linux 8 | mod_session | 2.4.37-43.0.1.module+el8.5.0+20475+4f6a8fd5.1 |
| Oracle Linux 8 | mod_ssl | 1:2.4.37-43.0.1.module+el8.5.0+20475+4f6a8fd5.1 |
| rocky 8 | httpd:2.4::httpd | 2.4.37-43.module+el8.5.0+714+5ec56ee8 |
| rocky 8 | httpd:2.4::httpd-devel | 2.4.37-43.module+el8.5.0+714+5ec56ee8 |
| rocky 8 | httpd:2.4::httpd-filesystem | 2.4.37-43.module+el8.5.0+714+5ec56ee8 |
| rocky 8 | httpd:2.4::httpd-manual | 2.4.37-43.module+el8.5.0+714+5ec56ee8 |
| rocky 8 | httpd:2.4::httpd-tools | 2.4.37-43.module+el8.5.0+714+5ec56ee8 |
| rocky 8 | httpd:2.4::mod_http2 | 1.15.7-3.module+el8.5.0+695+1fa8055e |
| rocky 8 | httpd:2.4::mod_ldap | 2.4.37-43.module+el8.5.0+714+5ec56ee8 |
| rocky 8 | httpd:2.4::mod_md | 1:2.0.8-8.module+el8.5.0+695+1fa8055e |
| rocky 8 | httpd:2.4::mod_proxy_html | 1:2.4.37-43.module+el8.5.0+714+5ec56ee8 |
| rocky 8 | httpd:2.4::mod_session | 2.4.37-43.module+el8.5.0+714+5ec56ee8 |
| rocky 8 | httpd:2.4::mod_ssl | 1:2.4.37-43.module+el8.5.0+714+5ec56ee8 |
| root.io debian 12 | rootio-apache2 | 2.4.52-1 |
| root.io debian 13 | rootio-apache2 | 2.4.52-1 |
| ubuntu 14.04-ESM | apache2 | 2.4.7-1ubuntu4.22+esm3 |
| ubuntu 16.04-ESM | apache2 | 2.4.18-2ubuntu3.17+esm4 |
| ubuntu 18.04 | apache2 | 2.4.29-1ubuntu4.21 |
| ubuntu 18.04-ESM | apache2 | 2.4.29-1ubuntu4.21 |
| ubuntu 20.04 | apache2 | 2.4.41-4ubuntu3.9 |
| ubuntu 20.04-ESM | apache2 | 2.4.41-4ubuntu3.9 |
| ubuntu 21.04 | apache2 | 2.4.46-4ubuntu1.5 |
| ubuntu 21.10 | apache2 | 2.4.48-3.1ubuntu3.2 |
| ubuntu 22.04 | apache2 | 2.4.52-1ubuntu1 |
References
- http://httpd.apache.org/security/vulnerabilities_24.html
- http://packetstormsecurity.com/files/171631/Apache-2.4.x-Buffer-Overflow.html
- http://seclists.org/fulldisclosure/2022/May/33
- http://seclists.org/fulldisclosure/2022/May/35
- http://seclists.org/fulldisclosure/2022/May/38
- http://www.openwall.com/lists/oss-security/2021/12/20/4
- https://access.redhat.com/security/cve/CVE-2021-44790
- https://bugzilla.redhat.com/show_bug.cgi?id=2034674
All 32 references
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44790
- https://errata.almalinux.org/8/ALSA-2022-0258.html
- https://errata.rockylinux.org/RLSA-2022:0258
- https://httpd.apache.org/security/vulnerabilities_24.html
- https://linux.oracle.com/cve/CVE-2021-44790.html
- https://linux.oracle.com/errata/ELSA-2022-0258.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BFSWOH4X77CV7AH7C4RMHUBDWKQDL4YH/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RGWILBORT67SHMSLYSQZG2NMXGCMPUZO/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X73C35MMMZGBVPQQCH7LQZUMYZNQA5FO/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Z7H26WJ6TPKNWV3QKY4BHKUKQVUTZJTD/
- https://nvd.nist.gov/vuln/detail/CVE-2021-44790
- https://security.gentoo.org/glsa/202208-20
- https://security.netapp.com/advisory/ntap-20211224-0001/
- https://support.apple.com/kb/HT213255
- https://support.apple.com/kb/HT213256
- https://support.apple.com/kb/HT213257
- https://ubuntu.com/security/notices/USN-5212-1
- https://ubuntu.com/security/notices/USN-5212-2
- https://www.cve.org/CVERecord?id=CVE-2021-44790
- https://www.debian.org/security/2022/dsa-5035
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://www.tenable.com/security/tns-2022-01
- https://www.tenable.com/security/tns-2022-03