Apache 1.3: Buffer overflow in mod_proxy — GLSA 200406-16 A bug in mod_proxy may allow a remote attacker to execute arbitrary code when Apache is configured a certain way. Affected packages Package www-servers/apache on all architectures Affected versions <= 1.3.31-r1 Unaffected versions >= 1.3.31-r2 Background The Apache HTTP Server Project is an effort to develop and maintain an open-source HTTP server for modern operating systems. The goal of this project is to provide a secure, efficient and extensible server that provides services in tune with the current HTTP standards. Description A bug in the proxy_util.c file may lead to a remote buffer overflow. To trigger the vulnerability an attacker would have to get mod_proxy to connect to a malicous server which returns an invalid (negative) Content-Length. Impact An attacker could cause a Denial of Service as the Apache child handling the request, which will die and under some circumstances execute arbitrary code as the user running Apache, usually "apache". Workaround There is no known workaround at this time. All users are encouraged to upgrade to the latest available version: Resolution Apache 1.x users should upgrade to the latest version of Apache: # emerge sync # emerge -pv ">=www-servers/apache-1.3.31-r2" # emerge ">=www-servers/apache-1.3.31-r2" References Georgi Guninski security advisory #69, 2004 CAN-2004-0492