Integer overflow in 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, allows local users to gain privileges via a .htaccess file with a crafted SetEnvIf directive, in conjunction with a crafted HTTP request header, leading to a heap-based buffer overflow.
CVSS Details
- CVSS 3.1 Base Score: 8.4
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alpine Linux | — | Upgrade apache2 | Aug 30, 2017 | Nov 8, 2011 |
| Apache Httpd | — | Upgrade to the latest version of Apache HTTPD | Apr 12, 2012 | Nov 8, 2011 |
| Apple Osx Apache | — | Upgrade macOS to the latest versionApply OS X security update 2012-004 | Sep 27, 2012 | Nov 8, 2011 |
| Apple Osx Note | — | Upgrade macOS to the latest versionApply OS X security update 2012-004 | Aug 28, 2015 | Nov 8, 2011 |
| Centos_linux | — | Upgrade httpd-develUpgrade mod_sslUpgrade httpd-manualUpgrade httpdUpgrade httpd-tools | Dec 1, 2016 | Nov 8, 2011 |
| Debian | — | Upgrade apache2 | Jul 30, 2024 | Nov 8, 2011 |
| F5 Big Ip | — | Update F5 BIG-IP to the latest version | Jun 17, 2026 | Jul 23, 2015 |
| Freebsd | — | Upgrade apache | Dec 10, 2025 | Jan 31, 2012 |
| Gentoo Linux | — | Upgrade www-servers/apache. | Oct 30, 2017 | Nov 8, 2011 |
| Hpsmh | — | Upgrade to the latest version of HP System Management Homepage | Oct 13, 2015 | Nov 8, 2011 |
| Hpux | — | Update hpuxwsAPACHE.AUTH_LDAP2 to the latest versionUpdate hpuxwsAPACHE.APACHE2 to the latest versionUpdate hpuxws22APCH32.PHP2 to the latest versionUpdate hpuxws22APCH32.WEBPROXY to the latest versionUpdate hpuxws22APCH32.MOD_PERL2 to the latest versionUpdate hpuxwsAPACHE.PHP2 to the latest versionUpdate hpuxwsAPACHE.MOD_PERL2 to the latest versionUpdate hpuxwsAPACHE.PHP to the latest versionUpdate hpuxwsAPACHE.MOD_JK to the latest versionUpdate hpuxwsAPACHE.MOD_PERL to the latest versionUpdate hpuxws22APCH32.WEBPROXY2 to the latest versionUpdate hpuxws22APCH32.APACHE to the latest versionUpdate hpuxws22APCH32.MOD_JK2 to the latest versionUpdate hpuxwsAPACHE.AUTH_LDAP to the latest versionUpdate hpuxwsAPACHE.APACHE to the latest versionUpdate hpuxwsAPACHE.MOD_JK2 to the latest versionUpdate hpuxws22APCH32.MOD_JK to the latest versionUpdate hpuxwsAPACHE.WEBPROXY to the latest versionUpdate hpuxws22APCH32.AUTH_LDAP2 to the latest versionUpdate hpuxws22APCH32.AUTH_LDAP to the latest versionUpdate hpuxws22APCH32.PHP to the latest versionUpdate hpuxws22APCH32.MOD_PERL to the latest versionUpdate hpuxws22APCH32.APACHE2 to the latest version | Aug 11, 2017 | Nov 8, 2011 |
| Ibm Http_server | — | Apply IBM HTTP Server version 8.0.0.3 or later | Jun 22, 2018 | Nov 8, 2011 |
| Oracle Solaris | — | Upgrade web/server/apache-22/documentation to version 2.2.22-0.175.0.6.0.1.0 on Solaris 11.0Upgrade web/server/apache-22 to version 2.2.22-0.175.0.6.0.1.0 on Solaris 11.0 | May 29, 2017 | Nov 8, 2011 |
| Oracle_linux | — | Upgrade httpd-develUpgrade httpdUpgrade httpd-toolsUpgrade httpd-manualUpgrade mod_ssl | Oct 16, 2024 | Nov 8, 2011 |
| Redhat_linux | — | No solution exists | Jul 9, 2025 | Nov 2, 2011 |
| Suse | — | Upgrade apache2-eventUpgrade apache2-docUpgrade apache2-utilsUpgrade apache2-preforkUpgrade apache2-workerUpgrade apache2-example-pagesUpgrade apache2-develUpgrade apache2-manualUpgrade apache2 | Dec 12, 2013 | Jul 9, 2013 |
| Ubuntu | — | Upgrade apache2.2-common | Nov 8, 2024 | Nov 8, 2011 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub