A flaw in mod_rewrite could result in a Denial of Service or the execution of arbitrary code.
|Package||www-servers/apache on all architectures|
|Affected versions||< 2.0.58-r2|
|Unaffected versions||revision >= 1.3.34-r14
revision >= 1.3.37
The Apache HTTP server is one of the most popular web servers on the Internet. The Apache module mod_rewrite provides a rule-based engine to rewrite requested URLs on the fly.
An off-by-one flaw has been found in Apache's mod_rewrite module by Mark Dowd of McAfee Avert Labs. This flaw is exploitable depending on the types of rewrite rules being used.
A remote attacker could exploit the flaw to cause a Denial of Service or execution of arbitrary code. Note that Gentoo Linux is not vulnerable in the default configuration.
There is no known workaround at this time.
All Apache users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose www-servers/apache
August 01, 2006
December 30, 2007: 02