CVE-2012-0021 json
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 M…
published 2012-01-28 14 y ago modified 2026-06-16 4 mo ago also EUVD-2012-0062
- cvss
- 2.6
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 30.3%
- EPSS 30.3% chance of exploitation in 30 days, percentile 98%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- apache2 Debian 14, Debian 13, Debian 12 2.2.22-1
debian advisories DEBIAN-CVE-2012-0021
- httpd jboss enterprise web server 1 2.2.17-15.4.ep5.el5
- httpd jboss enterprise web server 1 2.2.17-15.4.ep5.el6
- mod_ssl jboss enterprise web server 1 1:2.2.17-15.4.ep5.el5
- mod_ssl jboss enterprise web server 1 1:2.2.17-15.4.ep5.el6
- httpd-tools jboss enterprise web server 1 2.2.17-15.4.ep5.el6
- httpd-manual jboss enterprise web server 1 2.2.17-15.4.ep5.el5
- httpd-manual jboss enterprise web server 1 2.2.17-15.4.ep5.el6
red hat advisories RHSA-2012:0542
- apache2 Studio Onsite 1.3, SLES for SAP 11 SP4, SLES 11 SP4 +4 more 2.2.34-70.12.1
suse advisories SUSE-SU-2017:2907-1
- apache2 openSUSE Tumbleweed 2.4.23-4.1
opensuse advisories openSUSE-SU-2024:10268-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2012-0021 updated cvss 4.3
httpd: NULL pointer dereference crash in mod_log_config
-
Red Hat JBoss Enterprise Web Server 1 for RHEL 5 Server httpd 2.2.17-15.4.ep5.el5, mod_ssl 2.2.17-15.4.ep5.el5, httpd-manual 2.2.17-15.4.ep5.el5 Red Hat JBoss Enterprise Web Server 1 for RHEL 6 Server httpd 2.2.17-15.4.ep5.el6, mod_ssl 2.2.17-15.4.ep5.el6, httpd-tools 2.2.17-15.4.ep5.el6, httpd-manual 2.2.17-15.4.ep5.el6fixed: vendor fix RHSA-2012:0542
-
Red Hat JBoss Web Server 1.0fixed: vendor fix RHSA-2012:0543
-
Red Hat Enterprise Linux 4 httpd Red Hat Enterprise Linux 5 httpd Red Hat Enterprise Linux 6 httpd, mod_ssl, httpd-tools, httpd-manualnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
30.34% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 2.6 | AV:N/AC:H/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
- Technology feeds
References
-
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
vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2012:012
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2012-0543.html
vendor-advisory
-
marc.info
/?l=bugtraq&m=133294460209056&w=2
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2012-0542.html
vendor-advisory
-
lists.apple.com
/archives/security-announce/2012/Sep/msg00004.html
vendor-advisory
-
marc.info
/?l=bugtraq&m=133494237717847&w=2
vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2013:150
vendor-advisory
-
httpd.apache.org
/security/vulnerabilities_22.html
vendor-advisory
- bugzilla.redhat.com /show_bug.cgi?id=785065
- support.apple.com /kb/HT5501
- oracle.com /technetwork/topics/security/cpujul2012-392727.html
-
secunia.com
/advisories/48551
third-party-advisory
-
lists.apache.org
/thread.html/8d63cb8e9100f28a99429b4328e4e7cebce861d5772ac9863ba2ae6f%40%3Ccvs.httpd.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/f7f95ac1cd9895db2714fa3ebaa0b94d0c6df360f742a40951384a53%40%3Ccvs.httpd.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r57608dc51b79102f3952ae06f54d5277b649c86d6533dcd6a7d201f7%40%3Ccvs.httpd.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/rfbaf647d52c1cb843e726a0933f156366a806cead84fbd430951591b%40%3Ccvs.httpd.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/rf6449464fd8b7437704c55f88361b66f12d5b5f90bcce66af4be4ba9%40%3Ccvs.httpd.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r9ea3538f229874c80a10af473856a81fbf5f694cd7f471cc679ba70b%40%3Ccvs.httpd.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r9b4b963760a3cb5a4a70c902f325c6c0337fe51d5b8570416f8f8729%40%3Ccvs.httpd.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r05b5357d1f6bd106f41541ee7d87aafe3f5ea4dc3e9bde5ce09baff8%40%3Ccvs.httpd.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r1d201e3da31a2c8aa870c8314623caef7debd74a13d0f25205e26f15%40%3Ccvs.httpd.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/rdca61ae990660bacb682295f2a09d34612b7bb5f457577fe17f4d064%40%3Ccvs.httpd.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r9f93cf6dde308d42a9c807784e8102600d0397f5f834890708bf6920%40%3Ccvs.httpd.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/rad01d817195e6cc871cb1d73b207ca326379a20a6e7f30febaf56d24%40%3Ccvs.httpd.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r75cbe9ea3e2114e4271bbeca7aff96117b50c1b6eb7c4772b0337c1f%40%3Ccvs.httpd.apache.org%3E
mailing-list
Sources
- CVE List CVE-2012-0021
- NVD CVE-2012-0021
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.