Buy @ Amazon

Fix for CVE-2021-44790 and CVE-2021-44224 in Apache HTTP Server

The Problem

If your Apache HTTP Server is version range of 2.4.0 - 2.4.51, then it has the following security vulnerabilities:

  • SECURITY: CVE-2021-44790: Possible buffer overflow when parsing multipart content in mod_lua of Apache HTTP Server 2.4.51 and earlier (cve.mitre.org). 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.
  • SECURITY: CVE-2021-44224: Possible NULL dereference or SSRF in forward proxy configurations in Apache HTTP Server 2.4.51 and earlier (cve.mitre.org) A crafted URI sent to httpd configured as a forward proxy (ProxyRequests on) can cause a crash (NULL pointer dereference) or, for configurations mixing forward and reverse proxy declarations, can allow for requests to be directed to a declared Unix Domain Socket endpoint (Server Side Request Forgery). This issue affects Apache HTTP Server 2.4.7 up to 2.4.51 (included).


The Solution

Apache has released a patch version 2.4.52 to fix these security issues. All you got to do is upgrade your Apache Web Server server ASAP.

If you have installed Apache HTTP Server in Ubuntu OS (a Debian distribution), you can follow the steps below for this:

Go to the Github Gist for easy copy-paste of the command snippets.