Skip to content
Heist/ feed
Back to feed
UnratedFix available

apache2 — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-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 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.

Products
apache2
Affected versions
Not specified
Fixed versions
2.2.22-1
CVEs
CVE-2012-0053
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 23:00 UTC · Revision 1

Source evidence

DEBIAN-CVE-2012-0053

core-osv · Original source

Published 28 Jan 2012, 04:05 UTC

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.

osv:DEBIAN-CVE-2012-0053

apache2

Fixed versions: 2.2.22-1

apache2

Fixed versions: 2.2.22-1

apache2

Fixed versions: 2.2.22-1

Complete source record
{
  "id": "79b9d7af5f345e54a4e83edfae6d00b8b49e72b03f128741fbe5e5665fb9aaac",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2012-0053",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2012-0053",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2012-0053",
    "products": [
      {
        "name": {
          "value": "apache2",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.2.22-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "apache2",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.2.22-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "apache2",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.2.22-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "DEBIAN-CVE-2012-0053",
      "aliases": [
        "DEBIAN-CVE-2012-0053"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.2.22-1"
                }
              ]
            }
          ],
          "package": {
            "name": "apache2",
            "purl": "pkg:deb/debian/apache2?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2012-0053.json"
          },
          "ecosystem_specific": {
            "urgency": "low"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.2.22-1"
                }
              ]
            }
          ],
          "package": {
            "name": "apache2",
            "purl": "pkg:deb/debian/apache2?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2012-0053.json"
          },
          "ecosystem_specific": {
            "urgency": "low"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.2.22-1"
                }
              ]
            }
          ],
          "package": {
            "name": "apache2",
            "purl": "pkg:deb/debian/apache2?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2012-0053.json"
          },
          "ecosystem_specific": {
            "urgency": "low"
          }
        }
      ],
      "modified": "2026-10-23T17:47:32.050357605Z",
      "provider": "osv",
      "upstream": [
        "CVE-2012-0053"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2012-0053"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2012-0053",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 417478,
  "published_at": "2012-01-28T04:05:00.797+00:00"
}