Vulnerabilities · 2012 · Apache
CVE-2012-0021
Apache Http Server vulnerability
The log_cookie function in mod_log_config.c in the mod_log_config module in the Apache HTTP Server 2.2.17 through 2.2.21, when a threaded MPM is used, does not properly handle a %{}C format string, which allows remote attackers to cause a denial of service (daemon crash) via a cookie that lacks both a name and a value.
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.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- httpd.apache.org/security/vulnerabilities_22.html · Vendor Advisory
- svn.apache.org/viewvc?view=revision&revision=1227292 · Patch
- issues.apache.org/bugzilla/show_bug.cgi?id=52256 · Patch
- h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c03360041
- lists.apple.com/archives/security-announce/2012/Sep/msg00004.html
- marc.info/?l=bugtraq&m=133294460209056&w=2
- marc.info/?l=bugtraq&m=133494237717847&w=2
- rhn.redhat.com/errata/RHSA-2012-0542.html
- nvd.nist.gov/vuln/detail/CVE-2012-0021
- cve.org/CVERecord?id=CVE-2012-0021
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.