CVE-2011-4415

low
Published 2011-11-08 ยท Modified 2026-04-29
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
2.2

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.

Predictions

Exploit likelihood
55%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-41769 dos linux
halfdog ยท 2011-11-02

Apache < 2.0.64 / < 2.2.21 mod_setenvif - Integer Overflow

Source code queued for fetch โ€” refresh in a moment.

OS impact

debian Debian Fixed 5 releases
VersionStatusFixed in
trixie Fixed 2.4.1-1
sid Fixed 2.4.1-1
forky Fixed 2.4.1-1
bullseye Fixed 2.4.1-1
bookworm Fixed 2.4.1-1

Application impact

VendorProductVersionsFixed
apache apachehttp_server2.0
apache apachehttp_server2.0.9
apache apachehttp_server2.0.28
apache apachehttp_server2.0.32
apache apachehttp_server2.0.34
apache apachehttp_server2.0.35
apache apachehttp_server2.0.36
apache apachehttp_server2.0.37
apache apachehttp_server2.0.38
apache apachehttp_server2.0.39
apache apachehttp_server2.0.40
apache apachehttp_server2.0.41
apache apachehttp_server2.0.42
apache apachehttp_server2.0.43
apache apachehttp_server2.0.44
apache apachehttp_server2.0.45
apache apachehttp_server2.0.46
apache apachehttp_server2.0.47
apache apachehttp_server2.0.48
apache apachehttp_server2.0.49
apache apachehttp_server2.0.50
apache apachehttp_server2.0.51
apache apachehttp_server2.0.52
apache apachehttp_server2.0.53
apache apachehttp_server2.0.54
apache apachehttp_server2.0.55
apache apachehttp_server2.0.56
apache apachehttp_server2.0.57
apache apachehttp_server2.0.58
apache apachehttp_server2.0.59
apache apachehttp_server2.0.60
apache apachehttp_server2.0.61
apache apachehttp_server2.0.63
apache apachehttp_server2.0.64
apache apachehttp_server2.2.0
apache apachehttp_server2.2.1
apache apachehttp_server2.2.2
apache apachehttp_server2.2.3
apache apachehttp_server2.2.4
apache apachehttp_server2.2.6
apache apachehttp_server2.2.8
apache apachehttp_server2.2.9
apache apachehttp_server2.2.10
apache apachehttp_server2.2.11
apache apachehttp_server2.2.12
apache apachehttp_server2.2.13
apache apachehttp_server2.2.14
apache apachehttp_server2.2.15
apache apachehttp_server2.2.16
apache apachehttp_server2.2.18
apache apachehttp_server2.2.19
apache apachehttp_server2.2.20
apache apachehttp_server2.2.21

References

CWEs

CWE-20

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.