{"answers":{"affected":"1 open source package ship an affected version, including apache. It affects 14 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-44790 exists.","fix":"Upgrade apache to 2.4.52 or later.","what":"CVE-2021-44790 is a critical memory corruption vulnerability in Apache Http Server, published on 20 Dec 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-44790 and fix it if it is affected.\n\nWhat it is: CVE-2021-44790 is a critical memory corruption vulnerability in Apache Http Server, published on 20 Dec 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-44790 exists.\n\nAffected packages and fixed versions:\n- apache (Bitnami): affected all versions; fixed in 2.4.52\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-44790/ (Markdown: https://insights.sbomify.com/CVE-2021-44790/index.md)","id":"CVE-2021-44790","markdown":"https://insights.sbomify.com/CVE-2021-44790/index.md","name":"CVE-2021-44790","record":{"aliases":["ALPINE-CVE-2021-44790","ALSA-2022:0258","AZL-7044","BIT-apache-2021-44790","CLEANSTART-2026-DN02833","CLSA-2022-1643822315","CLSA-2022-1643914331","DEBIAN-CVE-2021-44790","GHSA-c547-2659-q37g","RHSA-2022:0258","RHSA-2022:0288","RHSA-2022:0303","RLSA-2022:0258","UBUNTU-CVE-2021-44790"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache HTTP Server","requires_auth":"none","summary":"A crafted request body can cause a buffer overflow in the mod_lua multipart parser, potentially allowing code execution or denial of service.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"http_server","vendor":"apache"},{"product":"mac_os_x","vendor":"apple"},{"product":"macos","vendor":"apple"},{"product":"debian_linux","vendor":"debian"},{"product":"fedora","vendor":"fedoraproject"},{"product":"cloud_backup","vendor":"netapp"},{"product":"communications_element_manager","vendor":"oracle"},{"product":"communications_operations_monitor","vendor":"oracle"},{"product":"communications_session_report_manager","vendor":"oracle"},{"product":"communications_session_route_manager","vendor":"oracle"},{"product":"http_server","vendor":"oracle"},{"product":"instantis_enterprisetrack","vendor":"oracle"},{"product":"zfs_storage_appliance_kit","vendor":"oracle"},{"product":"tenable.sc","vendor":"tenable"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"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.","ecosystems":["AlmaLinux:8","Bitnami","Red Hat:enterprise_linux:8::appstream","Red Hat:rhel_e4s:8.1::appstream","Red Hat:rhel_eus:8.2::appstream","Red Hat:rhel_eus:8.4::appstream","Red Hat:rhel_software_collections:3::el7","Rocky Linux:8"],"exploits":{"exploitdb":1,"first_seen":"2023-04-01","github_poc":3,"max_poc_stars":4,"metasploit":0,"nuclei":0,"refs":[{"date":"2023-12-05T05:54:47Z","kind":"github_poc","ref":"https://github.com/nuPacaChi/-CVE-2021-44790","stars":4,"title":"Thực nghiệm CVE-2021-44790"},{"date":"2026-08-04T17:37:16Z","kind":"github_poc","ref":"https://github.com/CerberusMrXi/Apache-Lua-Buffer-Overflow-Exploit-CVE-2021-44790","stars":1,"title":"Apache HTTP Server 2.4.x mod_lua Buffer Overflow (CVE-2021-44790) - Advanced exploitation framework with fingerprinting, multi-stage scanning, plugin architecture, professional reporting, screenshot capture, SQLite database, and 95%+ confidence detection. Author: Sudeepa Wanigarathna."},{"date":"2023-04-01","kind":"exploitdb","ref":"51193","stars":null,"title":"Apache 2.4.x - Buffer Overflow"},{"date":"2026-09-19T22:23:49Z","kind":"github_poc","ref":"https://github.com/MohammadAliMehri/cve-2021-44790-lab","stars":0,"title":null}],"tier":"weaponised"},"has_fix":true,"headline":"Possible buffer overflow when parsing multipart content in mod_lua of Apache HTTP Server 2.4.51 and earlier","id":"CVE-2021-44790","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"apache:http_server","products":["apache:http_server","apple:mac_os_x","apple:macos","debian:debian_linux","fedoraproject:fedora","netapp:cloud_backup","oracle:communications_element_manager","oracle:communications_session_report_manager","oracle:communications_session_route_manager","oracle:http_server","oracle:instantis_enterprisetrack","oracle:zfs_storage_appliance_kit"],"type":"memory_corruption","year":"2021"},"n_packages":115,"n_references":20,"next":{"headline":"Reflected XSS on certain HTTP endpoints","id":"CVE-2021-44791"},"packages":[{"ecosystem":"Bitnami","fixed":["2.4.52"],"introduced":["0"],"last_affected":[],"package":"apache","purl":"pkg:bitnami/apache","source":"BIT-apache-2021-44790"},{"ecosystem":"AlmaLinux:8","fixed":["2.4.37-43.module_el8.5.0+2609+b30d9eec.1.alma"],"introduced":["0"],"last_affected":[],"package":"httpd","purl":"pkg:rpm/almalinux/httpd","source":"ALSA-2022:0258"},{"ecosystem":"AlmaLinux:8","fixed":["2.4.37-43.module_el8.5.0+2609+b30d9eec.1.alma"],"introduced":["0"],"last_affected":[],"package":"httpd-devel","purl":"pkg:rpm/almalinux/httpd-devel","source":"ALSA-2022:0258"},{"ecosystem":"AlmaLinux:8","fixed":["2.4.37-43.module_el8.5.0+2609+b30d9eec.1.alma"],"introduced":["0"],"last_affected":[],"package":"httpd-filesystem","purl":"pkg:rpm/almalinux/httpd-filesystem","source":"ALSA-2022:0258"},{"ecosystem":"AlmaLinux:8","fixed":["2.4.37-43.module_el8.5.0+2609+b30d9eec.1.alma"],"introduced":["0"],"last_affected":[],"package":"httpd-manual","purl":"pkg:rpm/almalinux/httpd-manual","source":"ALSA-2022:0258"},{"ecosystem":"AlmaLinux:8","fixed":["2.4.37-43.module_el8.5.0+2609+b30d9eec.1.alma"],"introduced":["0"],"last_affected":[],"package":"httpd-tools","purl":"pkg:rpm/almalinux/httpd-tools","source":"ALSA-2022:0258"},{"ecosystem":"AlmaLinux:8","fixed":["1.15.7-3.module_el8.5.0+2609+b30d9eec"],"introduced":["0"],"last_affected":[],"package":"mod_http2","purl":"pkg:rpm/almalinux/mod_http2","source":"ALSA-2022:0258"},{"ecosystem":"AlmaLinux:8","fixed":["2.4.37-43.module_el8.5.0+2609+b30d9eec.1.alma"],"introduced":["0"],"last_affected":[],"package":"mod_ldap","purl":"pkg:rpm/almalinux/mod_ldap","source":"ALSA-2022:0258"},{"ecosystem":"AlmaLinux:8","fixed":["1:2.0.8-8.module_el8.5.0+2609+b30d9eec"],"introduced":["0"],"last_affected":[],"package":"mod_md","purl":"pkg:rpm/almalinux/mod_md","source":"ALSA-2022:0258"},{"ecosystem":"AlmaLinux:8","fixed":["1:2.0.8-8.module_el8.6.0+2872+fe0ff7aa"],"introduced":["0"],"last_affected":[],"package":"mod_md","purl":"pkg:rpm/almalinux/mod_md","source":"ALSA-2022:0258"},{"ecosystem":"AlmaLinux:8","fixed":["1:2.4.37-43.module_el8.5.0+2609+b30d9eec.1.alma"],"introduced":["0"],"last_affected":[],"package":"mod_proxy_html","purl":"pkg:rpm/almalinux/mod_proxy_html","source":"ALSA-2022:0258"},{"ecosystem":"AlmaLinux:8","fixed":["2.4.37-43.module_el8.5.0+2609+b30d9eec.1.alma"],"introduced":["0"],"last_affected":[],"package":"mod_session","purl":"pkg:rpm/almalinux/mod_session","source":"ALSA-2022:0258"},{"ecosystem":"AlmaLinux:8","fixed":["1:2.4.37-43.module_el8.5.0+2609+b30d9eec.1.alma"],"introduced":["0"],"last_affected":[],"package":"mod_ssl","purl":"pkg:rpm/almalinux/mod_ssl","source":"ALSA-2022:0258"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.4.37-43.module+el8.5.0+13806+b30d9eec.1"],"introduced":["0"],"last_affected":[],"package":"httpd","purl":"pkg:rpm/redhat/httpd","source":"RHSA-2022:0258"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.4.37-43.module+el8.5.0+13806+b30d9eec.1"],"introduced":["0"],"last_affected":[],"package":"httpd-debuginfo","purl":"pkg:rpm/redhat/httpd-debuginfo","source":"RHSA-2022:0258"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.4.37-43.module+el8.5.0+13806+b30d9eec.1"],"introduced":["0"],"last_affected":[],"package":"httpd-debugsource","purl":"pkg:rpm/redhat/httpd-debugsource","source":"RHSA-2022:0258"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.4.37-43.module+el8.5.0+13806+b30d9eec.1"],"introduced":["0"],"last_affected":[],"package":"httpd-devel","purl":"pkg:rpm/redhat/httpd-devel","source":"RHSA-2022:0258"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.4.37-43.module+el8.5.0+13806+b30d9eec.1"],"introduced":["0"],"last_affected":[],"package":"httpd-filesystem","purl":"pkg:rpm/redhat/httpd-filesystem","source":"RHSA-2022:0258"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.4.37-43.module+el8.5.0+13806+b30d9eec.1"],"introduced":["0"],"last_affected":[],"package":"httpd-manual","purl":"pkg:rpm/redhat/httpd-manual","source":"RHSA-2022:0258"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.4.37-43.module+el8.5.0+13806+b30d9eec.1"],"introduced":["0"],"last_affected":[],"package":"httpd-tools","purl":"pkg:rpm/redhat/httpd-tools","source":"RHSA-2022:0258"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.4.37-43.module+el8.5.0+13806+b30d9eec.1"],"introduced":["0"],"last_affected":[],"package":"httpd-tools-debuginfo","purl":"pkg:rpm/redhat/httpd-tools-debuginfo","source":"RHSA-2022:0258"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.15.7-3.module+el8.4.0+8625+d397f3da"],"introduced":["0"],"last_affected":[],"package":"mod_http2","purl":"pkg:rpm/redhat/mod_http2","source":"RHSA-2022:0258"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.15.7-3.module+el8.4.0+8625+d397f3da"],"introduced":["0"],"last_affected":[],"package":"mod_http2-debuginfo","purl":"pkg:rpm/redhat/mod_http2-debuginfo","source":"RHSA-2022:0258"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.15.7-3.module+el8.4.0+8625+d397f3da"],"introduced":["0"],"last_affected":[],"package":"mod_http2-debugsource","purl":"pkg:rpm/redhat/mod_http2-debugsource","source":"RHSA-2022:0258"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.4.37-43.module+el8.5.0+13806+b30d9eec.1"],"introduced":["0"],"last_affected":[],"package":"mod_ldap","purl":"pkg:rpm/redhat/mod_ldap","source":"RHSA-2022:0258"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.4.37-43.module+el8.5.0+13806+b30d9eec.1"],"introduced":["0"],"last_affected":[],"package":"mod_ldap-debuginfo","purl":"pkg:rpm/redhat/mod_ldap-debuginfo","source":"RHSA-2022:0258"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:2.0.8-8.module+el8.3.0+6814+67d1e611"],"introduced":["0"],"last_affected":[],"package":"mod_md","purl":"pkg:rpm/redhat/mod_md","source":"RHSA-2022:0258"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:2.0.8-8.module+el8.3.0+6814+67d1e611"],"introduced":["0"],"last_affected":[],"package":"mod_md-debuginfo","purl":"pkg:rpm/redhat/mod_md-debuginfo","source":"RHSA-2022:0258"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:2.0.8-8.module+el8.3.0+6814+67d1e611"],"introduced":["0"],"last_affected":[],"package":"mod_md-debugsource","purl":"pkg:rpm/redhat/mod_md-debugsource","source":"RHSA-2022:0258"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:2.4.37-43.module+el8.5.0+13806+b30d9eec.1"],"introduced":["0"],"last_affected":[],"package":"mod_proxy_html","purl":"pkg:rpm/redhat/mod_proxy_html","source":"RHSA-2022:0258"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:2.4.37-43.module+el8.5.0+13806+b30d9eec.1"],"introduced":["0"],"last_affected":[],"package":"mod_proxy_html-debuginfo","purl":"pkg:rpm/redhat/mod_proxy_html-debuginfo","source":"RHSA-2022:0258"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.4.37-43.module+el8.5.0+13806+b30d9eec.1"],"introduced":["0"],"last_affected":[],"package":"mod_session","purl":"pkg:rpm/redhat/mod_session","source":"RHSA-2022:0258"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.4.37-43.module+el8.5.0+13806+b30d9eec.1"],"introduced":["0"],"last_affected":[],"package":"mod_session-debuginfo","purl":"pkg:rpm/redhat/mod_session-debuginfo","source":"RHSA-2022:0258"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:2.4.37-43.module+el8.5.0+13806+b30d9eec.1"],"introduced":["0"],"last_affected":[],"package":"mod_ssl","purl":"pkg:rpm/redhat/mod_ssl","source":"RHSA-2022:0258"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:2.4.37-43.module+el8.5.0+13806+b30d9eec.1"],"introduced":["0"],"last_affected":[],"package":"mod_ssl-debuginfo","purl":"pkg:rpm/redhat/mod_ssl-debuginfo","source":"RHSA-2022:0258"},{"ecosystem":"Red Hat:rhel_e4s:8.1::appstream","fixed":["0:2.4.37-16.module+el8.1.0+13809+822d170a.3"],"introduced":["0"],"last_affected":[],"package":"httpd","purl":"pkg:rpm/redhat/httpd","source":"RHSA-2022:0288"},{"ecosystem":"Red Hat:rhel_e4s:8.1::appstream","fixed":["0:2.4.37-16.module+el8.1.0+13809+822d170a.3"],"introduced":["0"],"last_affected":[],"package":"httpd-debuginfo","purl":"pkg:rpm/redhat/httpd-debuginfo","source":"RHSA-2022:0288"},{"ecosystem":"Red Hat:rhel_e4s:8.1::appstream","fixed":["0:2.4.37-16.module+el8.1.0+13809+822d170a.3"],"introduced":["0"],"last_affected":[],"package":"httpd-debugsource","purl":"pkg:rpm/redhat/httpd-debugsource","source":"RHSA-2022:0288"},{"ecosystem":"Red Hat:rhel_e4s:8.1::appstream","fixed":["0:2.4.37-16.module+el8.1.0+13809+822d170a.3"],"introduced":["0"],"last_affected":[],"package":"httpd-devel","purl":"pkg:rpm/redhat/httpd-devel","source":"RHSA-2022:0288"},{"ecosystem":"Red Hat:rhel_e4s:8.1::appstream","fixed":["0:2.4.37-16.module+el8.1.0+13809+822d170a.3"],"introduced":["0"],"last_affected":[],"package":"httpd-filesystem","purl":"pkg:rpm/redhat/httpd-filesystem","source":"RHSA-2022:0288"}],"prev":{"headline":"Not used","id":"CVE-2021-44789"},"products":["Apache HTTP Server"],"published":"2021-12-20","related":[{"cvss_score":9.8,"headline":"Apache HTTP Server Path Traversal","id":"CVE-2021-42013","kev_date_added":"2021-11-03","published":"2021-10-07"},{"cvss_score":9.1,"headline":"Apache HTTP Server Improper Escaping of Output","id":"CVE-2024-38475","kev_date_added":"2025-05-01","published":"2024-07-01"},{"cvss_score":9,"headline":"Apache HTTP Server-Side Request Forgery (SSRF)","id":"CVE-2021-40438","kev_date_added":"2021-12-01","published":"2021-09-16"},{"cvss_score":7.8,"headline":"Apache HTTP Server Privilege Escalation","id":"CVE-2019-0211","kev_date_added":"2021-11-03","published":"2019-04-08"},{"cvss_score":7.5,"headline":"Apache HTTP Server Path Traversal","id":"CVE-2021-41773","kev_date_added":"2021-11-03","published":"2021-10-05"},{"cvss_score":10,"headline":"Use after free in n/a","id":"CVE-2010-0425","kev_date_added":null,"published":"2010-03-05"},{"cvss_score":10,"headline":"Auth bypass in n/a","id":"CVE-2005-2700","kev_date_added":null,"published":"2005-09-06"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["Apache Software Foundation"]},"summary":"A crafted request body can cause a buffer overflow in the mod_lua multipart parser, potentially allowing code execution or denial of service.","url":"https://insights.sbomify.com/CVE-2021-44790/"}