In Apache HTTP Server 2.4 releases 2.4.17 to 2.4.38, with MPM event, worker or prefork, code executing in less-privileged child processes or threads (including scripts executed by an in-process scripting interpreter) could execute arbitrary code with the privileges of the parent process (usually root) by manipulating the scoreboard. Non-Unix systems are not affected.
Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Http_server | Apache | 2.4.17 (including) | 2.4.38 (including) |
JBoss Core Services Apache HTTP Server 2.4.29 SP2 | RedHat | httpd | * |
JBoss Core Services Apache HTTP Server 2.4.29 SP2 | RedHat | * | |
JBoss Core Services on RHEL 6 | RedHat | jbcs-httpd24-httpd-0:2.4.29-40.jbcs.el6 | * |
JBoss Core Services on RHEL 6 | RedHat | jbcs-httpd24-openssl-1:1.0.2n-15.jbcs.el6 | * |
JBoss Core Services on RHEL 7 | RedHat | jbcs-httpd24-httpd-0:2.4.29-40.jbcs.el7 | * |
JBoss Core Services on RHEL 7 | RedHat | jbcs-httpd24-openssl-1:1.0.2n-15.jbcs.el7 | * |
Red Hat Enterprise Linux 8 | RedHat | httpd:2.4-8000020190405071959.55190bc5 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 6 | RedHat | httpd24-httpd-0:2.4.34-7.el6.1 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7 | RedHat | httpd24-httpd-0:2.4.34-7.el7.1 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7 | RedHat | httpd24-mod_auth_mellon-0:0.13.1-2.el7.1 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | RedHat | httpd24-httpd-0:2.4.34-7.el7.1 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | RedHat | httpd24-mod_auth_mellon-0:0.13.1-2.el7.1 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | RedHat | httpd24-httpd-0:2.4.34-7.el7.1 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | RedHat | httpd24-mod_auth_mellon-0:0.13.1-2.el7.1 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | RedHat | httpd24-httpd-0:2.4.34-7.el7.1 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | RedHat | httpd24-mod_auth_mellon-0:0.13.1-2.el7.1 | * |
Apache2 | Ubuntu | bionic | * |
Apache2 | Ubuntu | cosmic | * |
Apache2 | Ubuntu | devel | * |
Apache2 | Ubuntu | xenial | * |
The use of previously-freed memory can have any number of adverse consequences, ranging from the corruption of valid data to the execution of arbitrary code, depending on the instantiation and timing of the flaw. The simplest way data corruption may occur involves the system’s reuse of the freed memory. Use-after-free errors have two common and sometimes overlapping causes:
In this scenario, the memory in question is allocated to another pointer validly at some point after it has been freed. The original pointer to the freed memory is used again and points to somewhere within the new allocation. As the data is changed, it corrupts the validly used memory; this induces undefined behavior in the process. If the newly allocated data happens to hold a class, in C++ for example, various function pointers may be scattered within the heap data. If one of these function pointers is overwritten with an address to valid shellcode, execution of arbitrary code can be achieved.