Gentoo Logo

Apache 2: Remote denial of service attack


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200407-03 / Apache
Release Date July 04, 2004
Latest Revision December 30, 2007: 02
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
www-servers/apache <= 2.0.49-r3 >= 2.0.49-r4, < 2 All supported architectures

Related bugreports: #55441


A bug in Apache may allow a remote attacker to perform a Denial of Service attack. With certain configurations this could lead to a heap based buffer overflow.

2.  Impact Information


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.


A bug in the protocol.c file handling header lines will cause Apache to allocate memory for header lines starting with TAB or SPACE.


An attacker can exploit this vulnerability to perform a Denial of Service attack by causing Apache to exhaust all memory. On 64 bit systems with more than 4GB of virtual memory a possible integer signedness error could lead to a buffer based overflow causing Apache to crash and under some circumstances execute arbitrary code as the user running Apache, usually "apache".

3.  Resolution Information


There is no known workaround at this time. All users are encouraged to upgrade to the latest available version:


Apache 2 users should upgrade to the latest version of Apache:

Code Listing 3.1: Resolution

# emerge sync
# emerge -pv ">=www-servers/apache-2.0.49-r4"
# emerge ">=www-servers/apache-2.0.49-r4"

4.  References


Page updated July 04, 2004

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.