Vulnerabilities · 2011 · Apache
CVE-2011-4415
Apache Http Server vulnerability
The ap_pregsub function in server/util.c in the Apache HTTP Server 2.0.x through 2.0.64 and 2.2.x through 2.2.21, when the mod_setenvif module is enabled, does not restrict the size of values of environment variables, which allows local users to cause a denial of service (memory consumption or NULL pointer dereference) via a .htaccess file with a crafted SetEnvIf directive, in conjunction with a crafted HTTP request header, related to (1) the "len +=" statement and (2) the apr_pcalloc function call, a different vulnerability than CVE-2011-3607.
Affected products
Http Server. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Apache Http Server runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- www.halfdog.net/Security/2011/ApacheModSetEnvIfIntegerOverflow/ · Exploit
- www.halfdog.net/Security/2011/ApacheModSetEnvIfIntegerOverflow/DemoExploit.html · Exploit
- h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c03360041
- www.gossamer-threads.com/lists/apache/dev/403775
- nvd.nist.gov/vuln/detail/CVE-2011-4415
- cve.org/CVERecord?id=CVE-2011-4415
More vulnerabilities in Apache products
CVE-2026-47340CVE-2026-44930CVE-2026-44618CVE-2026-44417CVE-2026-42357CVE-2026-41280CVE-2026-32967CVE-2026-32966All 2,699
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.