CVE-2012-0021
The log_cookie function in mod_log_config.c in the mod_log_config module in the Apache HTTP...
CVE-2012-0021 is a low vulnerability (CVSS 2.6) in Apache Http Server, published January 28, 2012. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 30.3%, the 98th percentile. Fixed in apache2 2.2.22-1.
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.
Exploit likelihood
What each source reports
NVD Score used
2.6
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.
- Record
CVE-2012-0021- CVSS 2.0
- 2.6 Low
AV:N/AC:H/Au:N/C:N/I:N/A:P - Weakness
- CWE-20
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2012-0021- Updated
- 2026-11-02
EUVDEUVD-2012-0062 No score
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.
- Record
EUVD-2012-0062- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-mq76-p4cp-m2vg No score
The log_cookie function in mod_log_config.c in the mod_log_config module in the Apache HTTP...
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.
- Record
GHSA-mq76-p4cp-m2vg- Weakness
- CWE-20
- Updated
- 2026-11-02
OSVBELL-CVE-2012-0021
2.6
CVE-2012-0021 does not affect BellSoft software
- Record
BELL-CVE-2012-0021- CVSS 2.0
- 2.6 Low
AV:N/AC:H/Au:N/C:N/I:N/A:P - Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2012-0021- Updated
- 2026-11-02
OSVDEBIAN-CVE-2012-0021 No score
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.
- Record
DEBIAN-CVE-2012-0021- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10268-1 No score
apache2-2.4.23-4.1 on GA media
These are all security issues fixed in the apache2-2.4.23-4.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10268-1- Updated
- 2026-11-02
OSVSUSE-SU-2017:2907-1 No score
Security update for apache2
This update for apache2 fixes the following issues:
- Allow disabling SNI on proxy connections using 'SetEnv proxy-disable-sni 1' in the configuration files. (bsc#1052830)
- Allow ECDH again in mod_ssl, it had been incorrectly disabled with the 2.2.34 update. (bsc#1064561)
Following security issue has been fixed:
- CVE-2017-9798: A use-after-free in the OPTIONS command could be used by attackers to disclose memory of the apache server process, when htaccess uses incorrect Limit statement. (bsc#1058058)
Additionally, references to the following security issues, fixed by the previous version-update of apache2 to Apache HTTPD 2.2.34 have been added:
- CVE-2017-7668: The HTTP strict parsing introduced a bug in token list parsing, which allowed ap_find_token() to search past the end of its input string. By maliciously crafting a sequence of request headers, an attacker may have be able to cause a segmentation fault, or to force ap_find_token() to return an incorrect value. (bsc#1045061)
- CVE-2017-3169: mod_ssl may have de-referenced a NULL pointer when third-party modules call ap_hook_process_connection() during an HTTP request to an HTTPS port allowing for DoS. (bsc#1045062)
- CVE-2017-3167: Use of the ap_get_basic_auth_pw() by third-party modules outside of the authentication phase may have lead to authentication requirements being bypassed. (bsc#1045065)
- CVE-2017-7679: mod_mime could have read one byte past the end of a buffer when sending a malicious Content-Type response header. (bsc#1045060)
- Record
SUSE-SU-2017:2907-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
apache2Debian:12 |
before 2.2.22-1 | 2.2.22-1 |
apache2Debian:13 |
before 2.2.22-1 | 2.2.22-1 |
apache2Debian:14 |
before 2.2.22-1 | 2.2.22-1 |
httpdRed Hat:jboss_enterprise_web_server:1::el5 |
before 0:2.2.17-15.4.ep5.el5 | 0:2.2.17-15.4.ep5.el5 |
httpd-develRed Hat:jboss_enterprise_web_server:1::el5 |
before 0:2.2.17-15.4.ep5.el5 | 0:2.2.17-15.4.ep5.el5 |
httpd-manualRed Hat:jboss_enterprise_web_server:1::el5 |
before 0:2.2.17-15.4.ep5.el5 | 0:2.2.17-15.4.ep5.el5 |
mod_sslRed Hat:jboss_enterprise_web_server:1::el5 |
before 1:2.2.17-15.4.ep5.el5 | 1:2.2.17-15.4.ep5.el5 |
httpdRed Hat:jboss_enterprise_web_server:1::el6 |
before 0:2.2.17-15.4.ep5.el6 | 0:2.2.17-15.4.ep5.el6 |
httpd-develRed Hat:jboss_enterprise_web_server:1::el6 |
before 0:2.2.17-15.4.ep5.el6 | 0:2.2.17-15.4.ep5.el6 |
httpd-manualRed Hat:jboss_enterprise_web_server:1::el6 |
before 0:2.2.17-15.4.ep5.el6 | 0:2.2.17-15.4.ep5.el6 |
Show 10 moreShow less
| Package | Affected | Fixed |
|---|---|---|
httpd-toolsRed Hat:jboss_enterprise_web_server:1::el6 |
before 0:2.2.17-15.4.ep5.el6 | 0:2.2.17-15.4.ep5.el6 |
mod_sslRed Hat:jboss_enterprise_web_server:1::el6 |
before 1:2.2.17-15.4.ep5.el6 | 1:2.2.17-15.4.ep5.el6 |
apache2SUSE:Linux Enterprise Software Development Kit 11 SP4 |
before 2.2.34-70.12.1 | 2.2.34-70.12.1 |
apache2SUSE:Linux Enterprise Point of Sale 11 SP3 |
before 2.2.34-70.12.1 | 2.2.34-70.12.1 |
apache2SUSE:Linux Enterprise Server 11 SP3-LTSS |
before 2.2.34-70.12.1 | 2.2.34-70.12.1 |
apache2SUSE:Linux Enterprise Server 11 SP3-TERADATA |
before 2.2.34-70.12.1 | 2.2.34-70.12.1 |
apache2SUSE:Linux Enterprise Server 11 SP4 |
before 2.2.34-70.12.1 | 2.2.34-70.12.1 |
apache2SUSE:Linux Enterprise Server for SAP Applications 11 SP4 |
before 2.2.34-70.12.1 | 2.2.34-70.12.1 |
apache2SUSE:Studio Onsite 1.3 |
before 2.2.34-70.12.1 | 2.2.34-70.12.1 |
apache2openSUSE:Tumbleweed |
before 2.4.23-4.1 | 2.4.23-4.1 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
svn.apache.org/viewvc?view=revision&revision=1227292
h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c03360041
mandriva.com/security/advisories?name=MDVSA-2012:012
rhn.redhat.com/errata/RHSA-2012-0543.html
marc.info?l=bugtraq&m=133294460209056&w=2
issues.apache.org/bugzilla/show_bug.cgi?id=52256
Show 128 moreShow less
bugzilla.redhat.com/show_bug.cgi?id=785065
rhn.redhat.com/errata/RHSA-2012-0542.html
httpd.apache.org/security/vulnerabilities_22.html
lists.apple.com/archives/security-announce/2012/Sep/msg00004.html
support.apple.com/kb/HT5501
oracle.com/technetwork/topics/security/cpujul2012-392727.html
marc.info?l=bugtraq&m=133494237717847&w=2
mandriva.com/security/advisories?name=MDVSA-2013:150
secunia.com/advisories/48551
lists.apache.org/thread.html/8d63cb8e9100f28a99429b4328e4e7cebce861d5772ac9863ba2ae6f%40%3Ccvs.httpd.apache.org%3E
lists.apache.org/thread.html/f7f95ac1cd9895db2714fa3ebaa0b94d0c6df360f742a40951384a53%40%3Ccvs.httpd.apache.org%3E
lists.apache.org/thread.html/r57608dc51b79102f3952ae06f54d5277b649c86d6533dcd6a7d201f7%40%3Ccvs.httpd.apache.org%3E
lists.apache.org/thread.html/rfbaf647d52c1cb843e726a0933f156366a806cead84fbd430951591b%40%3Ccvs.httpd.apache.org%3E
lists.apache.org/thread.html/rf6449464fd8b7437704c55f88361b66f12d5b5f90bcce66af4be4ba9%40%3Ccvs.httpd.apache.org%3E
lists.apache.org/thread.html/r9ea3538f229874c80a10af473856a81fbf5f694cd7f471cc679ba70b%40%3Ccvs.httpd.apache.org%3E
lists.apache.org/thread.html/r9b4b963760a3cb5a4a70c902f325c6c0337fe51d5b8570416f8f8729%40%3Ccvs.httpd.apache.org%3E
lists.apache.org/thread.html/r05b5357d1f6bd106f41541ee7d87aafe3f5ea4dc3e9bde5ce09baff8%40%3Ccvs.httpd.apache.org%3E
lists.apache.org/thread.html/r1d201e3da31a2c8aa870c8314623caef7debd74a13d0f25205e26f15%40%3Ccvs.httpd.apache.org%3E
lists.apache.org/thread.html/rdca61ae990660bacb682295f2a09d34612b7bb5f457577fe17f4d064%40%3Ccvs.httpd.apache.org%3E
lists.apache.org/thread.html/r9f93cf6dde308d42a9c807784e8102600d0397f5f834890708bf6920%40%3Ccvs.httpd.apache.org%3E
lists.apache.org/thread.html/rad01d817195e6cc871cb1d73b207ca326379a20a6e7f30febaf56d24%40%3Ccvs.httpd.apache.org%3E
lists.apache.org/thread.html/r75cbe9ea3e2114e4271bbeca7aff96117b50c1b6eb7c4772b0337c1f%40%3Ccvs.httpd.apache.org%3E
nvd.nist.gov/vuln/detail/CVE-2012-0021
lists.apache.org/thread.html/8d63cb8e9100f28a99429b4328e4e7cebce861d5772ac9863ba2ae6f@%3Ccvs.httpd.apache.org%3E
lists.apache.org/thread.html/f7f95ac1cd9895db2714fa3ebaa0b94d0c6df360f742a40951384a53@%3Ccvs.httpd.apache.org%3E
lists.apache.org/thread.html/r05b5357d1f6bd106f41541ee7d87aafe3f5ea4dc3e9bde5ce09baff8@%3Ccvs.httpd.apache.org%3E
lists.apache.org/thread.html/r1d201e3da31a2c8aa870c8314623caef7debd74a13d0f25205e26f15@%3Ccvs.httpd.apache.org%3E
lists.apache.org/thread.html/r57608dc51b79102f3952ae06f54d5277b649c86d6533dcd6a7d201f7@%3Ccvs.httpd.apache.org%3E
lists.apache.org/thread.html/r75cbe9ea3e2114e4271bbeca7aff96117b50c1b6eb7c4772b0337c1f@%3Ccvs.httpd.apache.org%3E
lists.apache.org/thread.html/r9b4b963760a3cb5a4a70c902f325c6c0337fe51d5b8570416f8f8729@%3Ccvs.httpd.apache.org%3E
lists.apache.org/thread.html/r9ea3538f229874c80a10af473856a81fbf5f694cd7f471cc679ba70b@%3Ccvs.httpd.apache.org%3E
lists.apache.org/thread.html/r9f93cf6dde308d42a9c807784e8102600d0397f5f834890708bf6920@%3Ccvs.httpd.apache.org%3E
lists.apache.org/thread.html/rad01d817195e6cc871cb1d73b207ca326379a20a6e7f30febaf56d24@%3Ccvs.httpd.apache.org%3E
lists.apache.org/thread.html/rdca61ae990660bacb682295f2a09d34612b7bb5f457577fe17f4d064@%3Ccvs.httpd.apache.org%3E
lists.apache.org/thread.html/rf6449464fd8b7437704c55f88361b66f12d5b5f90bcce66af4be4ba9@%3Ccvs.httpd.apache.org%3E
lists.apache.org/thread.html/rfbaf647d52c1cb843e726a0933f156366a806cead84fbd430951591b@%3Ccvs.httpd.apache.org%3E
github.com/advisories/GHSA-mq76-p4cp-m2vg
docs.bell-sw.com/security/cves/CVE-2012-0021
security-tracker.debian.org/tracker/CVE-2012-0021
access.redhat.com/errata/RHSA-2012:0542
access.redhat.com/security/updates/classification
rhn.redhat.com/errata/RHSA-2011-1329.html
bugzilla.redhat.com/show_bug.cgi?id=736690
bugzilla.redhat.com/show_bug.cgi?id=740045
bugzilla.redhat.com/show_bug.cgi?id=749071
bugzilla.redhat.com/show_bug.cgi?id=769844
bugzilla.redhat.com/show_bug.cgi?id=773744
bugzilla.redhat.com/show_bug.cgi?id=785069
security.access.redhat.com/data/csaf/v2/advisories/2012/rhsa-2012_0542.json
access.redhat.com/security/cve/CVE-2011-3348
cve.org/CVERecord?id=CVE-2011-3348
nvd.nist.gov/vuln/detail/CVE-2011-3348
access.redhat.com/security/cve/CVE-2011-3368
cve.org/CVERecord?id=CVE-2011-3368
nvd.nist.gov/vuln/detail/CVE-2011-3368
contextis.com/research/blog/reverseproxybypass
access.redhat.com/security/cve/CVE-2011-3607
cve.org/CVERecord?id=CVE-2011-3607
nvd.nist.gov/vuln/detail/CVE-2011-3607
access.redhat.com/security/cve/CVE-2012-0021
cve.org/CVERecord?id=CVE-2012-0021
access.redhat.com/security/cve/CVE-2012-0031
cve.org/CVERecord?id=CVE-2012-0031
nvd.nist.gov/vuln/detail/CVE-2012-0031
access.redhat.com/security/cve/CVE-2012-0053
cve.org/CVERecord?id=CVE-2012-0053
nvd.nist.gov/vuln/detail/CVE-2012-0053
suse.com/support/update/announcement/2017/suse-su-20172907-1
bugzilla.suse.com/1045060
bugzilla.suse.com/1045061
bugzilla.suse.com/1045062
bugzilla.suse.com/1045065
bugzilla.suse.com/1052830
bugzilla.suse.com/1058058
bugzilla.suse.com/1064561
suse.com/security/cve/CVE-2009-2699
suse.com/security/cve/CVE-2010-0425
suse.com/security/cve/CVE-2012-0021
suse.com/security/cve/CVE-2014-0118
suse.com/security/cve/CVE-2017-3167
suse.com/security/cve/CVE-2017-3169
suse.com/security/cve/CVE-2017-7668
suse.com/security/cve/CVE-2017-7679
suse.com/security/cve/CVE-2017-9798
suse.com/security/cve/CVE-2009-0023
suse.com/security/cve/CVE-2009-1191
suse.com/security/cve/CVE-2009-1195
suse.com/security/cve/CVE-2009-1890
suse.com/security/cve/CVE-2009-1891
suse.com/security/cve/CVE-2009-1955
suse.com/security/cve/CVE-2009-1956
suse.com/security/cve/CVE-2009-2412
suse.com/security/cve/CVE-2009-3094
suse.com/security/cve/CVE-2009-3095
suse.com/security/cve/CVE-2009-3555
suse.com/security/cve/CVE-2009-3560
suse.com/security/cve/CVE-2009-3720
suse.com/security/cve/CVE-2010-0408
suse.com/security/cve/CVE-2010-0434
suse.com/security/cve/CVE-2010-1452
suse.com/security/cve/CVE-2010-1623
suse.com/security/cve/CVE-2010-2068
suse.com/security/cve/CVE-2011-1176
suse.com/security/cve/CVE-2011-3192
suse.com/security/cve/CVE-2011-3368
suse.com/security/cve/CVE-2011-3607
suse.com/security/cve/CVE-2011-4317
suse.com/security/cve/CVE-2012-0031
suse.com/security/cve/CVE-2012-0053
suse.com/security/cve/CVE-2012-2687
suse.com/security/cve/CVE-2012-3499
suse.com/security/cve/CVE-2012-3502
suse.com/security/cve/CVE-2013-1896
suse.com/security/cve/CVE-2013-2249
suse.com/security/cve/CVE-2013-5704
suse.com/security/cve/CVE-2013-6438
suse.com/security/cve/CVE-2014-0098
suse.com/security/cve/CVE-2014-0117
suse.com/security/cve/CVE-2014-0226
suse.com/security/cve/CVE-2014-0231
suse.com/security/cve/CVE-2014-3523
suse.com/security/cve/CVE-2014-3581
suse.com/security/cve/CVE-2014-3583
suse.com/security/cve/CVE-2014-8109
suse.com/security/cve/CVE-2015-0228
suse.com/security/cve/CVE-2015-0253
suse.com/security/cve/CVE-2015-4000
suse.com/security/cve/CVE-2016-4979