{"id":"CVE-2011-4415","aliases":["DEBIAN-CVE-2011-4415","EUVD-2011-4344","GHSA-43r8-mvrp-6q9c"],"status":"published","title":"The ap_pregsub function in server/util.c in the Apache HTTP Server 2.0.x through 2.0.64 and 2.2.x...","description":"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.","severity":{"version":"2.0","score":1.2,"vector":"AV:L/AC:H/Au:N/C:N/I:N/A:P","level":"low","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.03019,"percentile":0.87531,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-20"],"published":"2011-11-08T11:00:00Z","modified":"2026-10-23T17:47:22Z","exploits":[{"source":"exploitdb","id":"EDB-41769","title":"Apache \u003c 2.0.64 / \u003c 2.2.21 mod_setenvif - Integer Overflow","type":"dos","platform":"linux","date":"2011-11-02","url":"https://www.exploit-db.com/exploits/41769"}],"fixes":[{"ecosystem":"Debian:12","package":"apache2","fixed_in":["2.4.1-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"apache2","fixed_in":["2.4.1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"apache2","fixed_in":["2.4.1-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"apache2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.1-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"apache2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"apache2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.1-1"}]}]}],"products":[{"vendor":"apache","product":"http_server"}],"references":[{"url":"http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c03360041","tags":["vendor-advisory","x_refsource_HP","x_transferred","web"]},{"url":"http://www.halfdog.net/Security/2011/ApacheModSetEnvIfIntegerOverflow/DemoExploit.html","tags":["x_refsource_MISC","x_transferred","Exploit","evidence"]},{"url":"http://www.gossamer-threads.com/lists/apache/dev/403775","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://www.halfdog.net/Security/2011/ApacheModSetEnvIfIntegerOverflow/","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","evidence","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2011-4415"},{"url":"http://www.halfdog.net/Security/2011/ApacheModSetEnvIfIntegerOverflow"},{"url":"https://github.com/advisories/GHSA-43r8-mvrp-6q9c"},{"url":"https://security-tracker.debian.org/tracker/CVE-2011-4415","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2011-4415","description":"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.","status":"published","published":"2011-11-08T11:00:00Z","modified":"2024-08-07T00:09:18.511Z","updated_at":"2026-11-02T14:35:37.989579Z"}],"euvd":[{"id":"EUVD-2011-4344","description":"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.","status":"published","published":"2011-11-08T11:00:00Z","modified":"2024-08-07T00:09:18Z","updated_at":"2026-11-03T01:39:48.961231Z"}],"ghsa":[{"id":"GHSA-43r8-mvrp-6q9c","title":"The ap_pregsub function in server/util.c in the Apache HTTP Server 2.0.x through 2.0.64 and 2.2.x...","description":"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.","status":"published","published":"2022-05-17T05:28:05Z","modified":"2025-04-11T03:53:45Z","cwes":["CWE-20"],"updated_at":"2026-11-02T15:01:10.114294Z"}],"nvd":[{"id":"CVE-2011-4415","description":"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.","status":"published","published":"2011-11-08T11:55:05.85Z","modified":"2026-06-16T23:34:53.16Z","cvss":[{"version":"2.0","score":1.2,"vector":"AV:L/AC:H/Au:N/C:N/I:N/A:P","level":"low","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:02:10.769216Z"}],"osv":[{"id":"CVE-2011-4415","description":"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.","status":"published","published":"2011-11-08T11:55:05Z","modified":"2026-04-10T03:42:04.406674Z","updated_at":"2026-11-02T15:43:58.279353Z"},{"id":"DEBIAN-CVE-2011-4415","description":"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.","status":"published","published":"2011-11-08T11:55:05.85Z","modified":"2026-10-23T17:47:22.486566716Z","updated_at":"2026-11-02T15:45:24.612044Z"}]}}
