CVE-2011-4415
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Debian 14 | apache2 | Fixed | 2.4.1-1 | DEBIAN-CVE-2011-4415 |
| Debian 13 | apache2 | Fixed | 2.4.1-1 | DEBIAN-CVE-2011-4415 |
| Debian 12 | apache2 | Fixed | 2.4.1-1 | DEBIAN-CVE-2011-4415 |
| Red Hat Enterprise Linux 6 | httpd | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | httpd-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | httpd-manual | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | httpd-tools | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | mod_ssl | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 5 | httpd | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 4 | httpd | Will not fix Will not fix |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c03360041 (vendor-advisory)
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c03360041 (vendor-advisory)
References
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c03360041
- http://www.halfdog.net/Security/2011/ApacheModSetEnvIfIntegerOverflow/DemoExploit.html
- http://www.gossamer-threads.com/lists/apache/dev/403775
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c03360041
- http://www.halfdog.net/Security/2011/ApacheModSetEnvIfIntegerOverflow/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.