Vulnerabilities

Vulnerability · 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 properl…

Published Jan 28, 2012 · catalog updated Jun 16, 2026 · http server

Last checked Nov 7, 2026. A connected source was read within the last 7 days.

Check this week

CVE-2012-0021 is not in CISA KEV. FIRST estimates a 30.34% chance of exploitation in the next 30 days. Check whether you run http server.

Gaps on this record

  • No vendor fix or required action is stored. Compare the linked advisory before you change production.

Same product and reporting

Severity
Low2.6
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
30.34%
Remediation
Advisory link
Affected products
cpe apache/http server

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.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • cpe apache/http server2.2.17
  • cpe apache/http server2.2.18
  • cpe apache/http server2.2.19
  • cpe apache/http server2.2.20
  • cpe apache/http server2.2.21

How to fix CVE-2012-0021

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

CVE-2012-0021 is not in CISA KEV. FIRST estimates a 30.34% chance of exploitation in the next 30 days. Check whether you run http server.

Which versions are affected?

Compare what you have installed with apache/http server 2.2.17; apache/http server 2.2.18; apache/http server 2.2.19; apache/http server 2.2.20. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

CWE-20: Improper Input Validation. EPSS 30.34%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Technology hubs

Code

The project this record applies to. Exploit listings stay in References.

No public source repository is identified for this product.

Timeline

Detection, updates, and resolution for this record.

  1. Jan 28, 2012 · Monitored products — critical

    Detected

    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.

  2. Jun 16, 2026 · Monitored products — critical

    Updated

    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.

Sources

  • CVE.orgVulnerability recordCVE-2012-0021

    Official CVE identifier

    cve.org
  • Monitored products — criticalVendor advisoryCVE-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.

    nvd.nist.gov

References

Freshness

Last verified in this catalog Nov 7, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.

  • CVE.orgNov 4, 2026
  • Monitored products — criticalNov 4, 2026