cve.bz

CVE-2012-0021 apache http server: Improper Input Validation

no score yetEPSS 30%Fix available

apache http server: no CVSS score yet. EPSS 30% estimated probability of exploitation activity in the next 30 days.

On this page
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.
EPSS
30% (unchanged from 30% a week ago; 30% 30 days ago) estimated probability of exploitation activity in the next 30 days; 98th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2012-0021 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2012-0021?via=ask-ai-copy and https://cve.bz/cve/CVE-2012-0021?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2012-0021 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
apache:http_server2.2.17
apache:http_server2.2.18
apache:http_server2.2.19
apache:http_server2.2.20
apache:http_server2.2.21

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14apache22.2.22-1DEBIAN-CVE-2012-0021
Red Hatjboss_enterprise_web_server:1::el5httpd, httpd-devel, httpd-manual0:2.2.17-15.4.ep5.el5RHSA-2012:0542
Red Hatjboss_enterprise_web_server:1::el5mod_ssl1:2.2.17-15.4.ep5.el5RHSA-2012:0542
Red Hatjboss_enterprise_web_server:1::el6httpd, httpd-devel, httpd-tools and 1 more0:2.2.17-15.4.ep5.el6RHSA-2012:0542
Red Hatjboss_enterprise_web_server:1::el6mod_ssl1:2.2.17-15.4.ep5.el6RHSA-2012:0542
SUSELinux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP3-LTSS, Linux Enterprise Server 11 SP3-TERADATA and 4 moreapache22.2.34-70.12.1SUSE-SU-2017:2907-1
openSUSETumbleweedapache22.4.23-4.1openSUSE-SU-2024:10268-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Low.

Red Hat's statement

Not vulnerable. This issue did not affect the versions of httpd as shipped with Red Hat Enterprise Linux 4, 5, or 6.

ProductPackageStateAdvisory
Red Hat JBoss Enterprise Web Server 1 for RHEL 5httpd-0:2.2.17-15.4.ep5.el5Fixed 2012-05-07RHSA-2012:0542
Red Hat JBoss Enterprise Web Server 1 for RHEL 6httpd-0:2.2.17-15.4.ep5.el6Fixed 2012-05-07RHSA-2012:0542
Red Hat JBoss Web Server 1.0Fixed 2012-05-07RHSA-2012:0543
Red Hat Enterprise Linux 4httpdNot affected
Red Hat Enterprise Linux 5httpdNot affected
Red Hat Enterprise Linux 6httpdNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2012-0021.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON