Apache 2: Remote denial of service attack — GLSA 200407-03

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.

Affected Packages

www-servers/apache on all architectures
Affected versions <= 2.0.49-r3
Unaffected versions >= 2.0.49-r4, < 2

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 protocol.c file handling header lines will cause Apache to allocate memory for header lines starting with TAB or SPACE.

Impact

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".

Workaround

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

Resolution

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

 # emerge sync

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

References

Release Date
July 04, 2004

Latest Revision
December 30, 2007: 02

Severity
normal

Exploitable
remote

Bugzilla entries