CVE-2012-0053: protocol.c in the Apache HTTP Server 2.2.x through 2.2.21 does not properly restrict header information during construction of Bad Reques…

CVE-2012-0053 affects 17 listed versions of Apache HTTP Server in the Dawnsentry catalogue.

4.3CVSS medium
None knownexploitation
82%EPSS (next 30 days)
28 January 2012published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Apache HTTP Server

17 of 89 listed versions are affected. Fixed in 2.2.22, 2.0.65. The newest release, 2.4.71, is not affected.

2.2.21 2.2.20 2.2.19 2.0.64 2.0.63 2.0.61 2.0.60 2.0.59 2.0.58 2.0.57 2.0.56 2.0.55 2.0.54 2.0.53 2.0.52 2.0.51 2.0.50

What it is

protocol.c in the Apache HTTP Server 2.2.x through 2.2.21 does not properly restrict header information during construction of Bad Request (aka 400) error documents, which allows remote attackers to obtain the values of HTTPOnly cookies via vectors involving a (1) long or (2) malformed header in conjunction with crafted web script.

AV:N/AC:M/Au:N/C:P/I:N/A:N (NVD)

Published by Red Hat on 28 January 2012. Last changed 16 June 2026.

Sources

Check one version you run: look CVE-2012-0053 up, or pick a product and version in the quick lookup.

Updated 1 December 2026.