Home / Apache / Http Server / CVE-2012-0021
CVE-2012-0021: is it exploited, and which versions of Apache Http Server are affected and fixed?
CVE-2012-0021 is an improper input validation vulnerability in Apache Http Server. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:38 UTC). Affected: http server 2.2.17, http server 2.2.18, http server 2.2.19 and 2 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Low (2.6, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:38 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:49 UTC.
What is CVE-2012-0021?
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.
From the CVE record by redhat, last updated August 6, 2024, 18:09 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | http server | 2.2.17 | application |
| apache | http server | 2.2.18 | application |
| apache | http server | 2.2.19 | application |
| apache | http server | 2.2.20 | application |
| apache | http server | 2.2.21 | application |
NVD analysis (status Modified), last modified June 16, 2026, 23:36 UTC.
How severe is CVE-2012-0021?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 2.6 | CVSS 2.0 | AV:N/AC:H/Au:N/C:N/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2012-0021 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 30.3% probability of exploitation activity in the next 30 days, percentile 98.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-20 Improper Input Validation
Where are the vendor advisories and references?
- http://svn.apache.org/viewvc?view=revision&revision=1227292 x_refsource_CONFIRM
- HPSBMU02786 vendor-advisory, x_refsource_HP
- MDVSA-2012:012 vendor-advisory, x_refsource_MANDRIVA
- RHSA-2012:0543 vendor-advisory, x_refsource_REDHAT
- SSRT100772 vendor-advisory, x_refsource_HP
- https://issues.apache.org/bugzilla/show_bug.cgi?id=52256 x_refsource_CONFIRM
- https://bugzilla.redhat.com/show_bug.cgi?id=785065 x_refsource_CONFIRM
- RHSA-2012:0542 vendor-advisory, x_refsource_REDHAT
- http://httpd.apache.org/security/vulnerabilities_22.html x_refsource_CONFIRM
- APPLE-SA-2012-09-19-2 vendor-advisory, x_refsource_APPLE
- http://support.apple.com/kb/HT5501 x_refsource_CONFIRM
- http://www.oracle.com/technetwork/topics/security/cpujul2012-392727.html x_refsource_CONFIRM
- HPSBUX02761 vendor-advisory, x_refsource_HP
- MDVSA-2013:150 vendor-advisory, x_refsource_MANDRIVA
- 48551 third-party-advisory, x_refsource_SECUNIA
- [httpd-cvs] 20190815 svn commit: r1048743 [3/4] - in /websites/staging/httpd/trunk/content: ./ security/vulnerabilities-httpd.xml security/vulnerabilities_13.ht mailing-list, x_refsource_MLIST
- [httpd-cvs] 20190815 svn commit: r1048742 [3/4] - in /websites/staging/httpd/trunk/content: ./ security/vulnerabilities-httpd.xml security/vulnerabilities_13.ht mailing-list, x_refsource_MLIST
- [httpd-cvs] 20200401 svn commit: r1058586 [3/4] - in /websites/staging/httpd/trunk/content: ./ security/vulnerabilities-httpd.xml security/vulnerabilities_13.ht mailing-list, x_refsource_MLIST
- [httpd-cvs] 20200401 svn commit: r1058587 [3/4] - in /websites/staging/httpd/trunk/content: ./ security/vulnerabilities-httpd.xml security/vulnerabilities_13.ht mailing-list, x_refsource_MLIST
- [httpd-cvs] 20210330 svn commit: r1073139 [1/13] - in /websites/staging/httpd/trunk/content: ./ security/json/ mailing-list, x_refsource_MLIST
- [httpd-cvs] 20210330 svn commit: r1073140 [3/4] - in /websites/staging/httpd/trunk/content: ./ security/cvejsontohtml.py security/vulnerabilities_13.html securi mailing-list, x_refsource_MLIST
- [httpd-cvs] 20210330 svn commit: r1073139 [8/13] - in /websites/staging/httpd/trunk/content: ./ security/json/ mailing-list, x_refsource_MLIST
- [httpd-cvs] 20210330 svn commit: r1888194 [8/13] - /httpd/site/trunk/content/security/json/ mailing-list, x_refsource_MLIST
- [httpd-cvs] 20210330 svn commit: r1073149 [8/13] - in /websites/staging/httpd/trunk/content: ./ security/ security/json/ mailing-list, x_refsource_MLIST
- [httpd-cvs] 20210330 svn commit: r1073146 [2/3] - in /websites/staging/httpd/trunk/content: ./ security/cvejsontohtml.py security/vulnerabilities-httpd.xml secu mailing-list, x_refsource_MLIST
- [httpd-cvs] 20210330 svn commit: r1073149 [1/13] - in /websites/staging/httpd/trunk/content: ./ security/ security/json/ mailing-list, x_refsource_MLIST
- [httpd-cvs] 20210603 svn commit: r1075360 [2/3] - in /websites/staging/httpd/trunk/content: ./ security/json/CVE-2021-31618.json security/vulnerabilities_13.htm mailing-list, x_refsource_MLIST
- [httpd-cvs] 20210606 svn commit: r1075470 [3/4] - in /websites/staging/httpd/trunk/content: ./ security/json/CVE-2020-13938.json security/vulnerabilities_13.htm mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- December 7, 2011
- Published
- January 28, 2012, 02:00 UTC
- CVE record updated
- August 6, 2024, 18:09 UTC by redhat
- NVD
- Modified, last modified June 16, 2026, 23:36 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:49 UTC; KEV December 3, 2026, 07:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Http Server?
- Aug 13, 2019CVE-2019-9517 Apple Swiftnio: denial of service (uncontrolled resource consumption)
- Jul 19, 2016CVE-2016-5387 Apache Http Server: n/a
- Jul 6, 2016CVE-2016-4979 Apache Http Server: improper access control
- Jul 6, 2016CVE-2016-1546 Apache Http Server: n/a
- Jul 20, 2015CVE-2015-3185 Canonical Ubuntu Linux: n/a
- Jul 20, 2015CVE-2015-3183 Apache Http Server: improper input validation
- Jul 20, 2015CVE-2015-0253 Apache Http Server: n/a
- Mar 8, 2015CVE-2015-0228 Apache Http Server: improper input validation
Questions about CVE-2012-0021
Is CVE-2012-0021 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:38 UTC. FIRST's EPSS gives it a 30.3% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apache Http Server are affected by CVE-2012-0021?
http server 2.2.17, http server 2.2.18, http server 2.2.19, http server 2.2.20 and http server 2.2.21, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2012-0021?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2012-0021?
Low (2.6, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2012-0021?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.