CVE-2012-0021 Denial of service in n/a

Low 2.6 Published Updated

Remote attackers can crash the Apache HTTP Server daemon by sending a malformed cookie when a threaded MPM is configured.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2012-0021?

CVE-2012-0021 is a low-severity denial of service vulnerability in Apache Http Server, published on 28 Jan 2012. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-20

Which versions are affected by CVE-2012-0021?

It affects 1 product.

Products include Apache Http Server.

How do I fix CVE-2012-0021?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2012-0021 being exploited?

There is no known exploitation of CVE-2012-0021 in the wild and no public exploit code.

All Apache Http Server vulnerabilities

Sources

Also known as DEBIAN-CVE-2012-0021, GHSA-mq76-p4cp-m2vg.

Is CVE-2012-0021 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free