Every CVE Search/ Get API key

CVE-2012-0021

The log_cookie function in mod_log_config.c in the mod_log_config module in the Apache HTTP...

2.6 LowFix available

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.

Exploit likelihood

30.3%Up 23.0 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 2.6

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.

Record
CVE-2012-0021
CVSS 2.0
2.6 LowAV:N/AC:H/Au:N/C:N/I:N/A:P
Weakness
CWE-20
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2012-0021
Updated
2026-11-02
EUVDEUVD-2012-0062 No score

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.

Record
EUVD-2012-0062
Updated
2026-11-03
GitHub AdvisoriesGHSA-mq76-p4cp-m2vg No score

The log_cookie function in mod_log_config.c in the mod_log_config module in the Apache HTTP...

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.

Record
GHSA-mq76-p4cp-m2vg
Weakness
CWE-20
Updated
2026-11-02
OSVBELL-CVE-2012-0021 2.6

CVE-2012-0021 does not affect BellSoft software

Record
BELL-CVE-2012-0021
CVSS 2.0
2.6 LowAV:N/AC:H/Au:N/C:N/I:N/A:P
Updated
2026-11-02
OSV No score

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.

Record
CVE-2012-0021
Updated
2026-11-02
OSVDEBIAN-CVE-2012-0021 No score

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.

Record
DEBIAN-CVE-2012-0021
Updated
2026-11-02
OSVopenSUSE-SU-2024:10268-1 No score

apache2-2.4.23-4.1 on GA media

These are all security issues fixed in the apache2-2.4.23-4.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10268-1
Updated
2026-11-02
OSVSUSE-SU-2017:2907-1 No score

Security update for apache2

This update for apache2 fixes the following issues:

  • Allow disabling SNI on proxy connections using 'SetEnv proxy-disable-sni 1' in the configuration files. (bsc#1052830)
  • Allow ECDH again in mod_ssl, it had been incorrectly disabled with the 2.2.34 update. (bsc#1064561)

Following security issue has been fixed:

  • CVE-2017-9798: A use-after-free in the OPTIONS command could be used by attackers to disclose memory of the apache server process, when htaccess uses incorrect Limit statement. (bsc#1058058)

Additionally, references to the following security issues, fixed by the previous version-update of apache2 to Apache HTTPD 2.2.34 have been added:

  • CVE-2017-7668: The HTTP strict parsing introduced a bug in token list parsing, which allowed ap_find_token() to search past the end of its input string. By maliciously crafting a sequence of request headers, an attacker may have be able to cause a segmentation fault, or to force ap_find_token() to return an incorrect value. (bsc#1045061)
  • CVE-2017-3169: mod_ssl may have de-referenced a NULL pointer when third-party modules call ap_hook_process_connection() during an HTTP request to an HTTPS port allowing for DoS. (bsc#1045062)
  • CVE-2017-3167: Use of the ap_get_basic_auth_pw() by third-party modules outside of the authentication phase may have lead to authentication requirements being bypassed. (bsc#1045065)
  • CVE-2017-7679: mod_mime could have read one byte past the end of a buffer when sending a malicious Content-Type response header. (bsc#1045060)
Record
SUSE-SU-2017:2907-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
apache2
Debian:12
before 2.2.22-1
2.2.22-1
apache2
Debian:13
before 2.2.22-1
2.2.22-1
apache2
Debian:14
before 2.2.22-1
2.2.22-1
httpd
Red Hat:jboss_enterprise_web_server:1::el5
before 0:2.2.17-15.4.ep5.el5
0:2.2.17-15.4.ep5.el5
httpd-devel
Red Hat:jboss_enterprise_web_server:1::el5
before 0:2.2.17-15.4.ep5.el5
0:2.2.17-15.4.ep5.el5
httpd-manual
Red Hat:jboss_enterprise_web_server:1::el5
before 0:2.2.17-15.4.ep5.el5
0:2.2.17-15.4.ep5.el5
mod_ssl
Red Hat:jboss_enterprise_web_server:1::el5
before 1:2.2.17-15.4.ep5.el5
1:2.2.17-15.4.ep5.el5
httpd
Red Hat:jboss_enterprise_web_server:1::el6
before 0:2.2.17-15.4.ep5.el6
0:2.2.17-15.4.ep5.el6
httpd-devel
Red Hat:jboss_enterprise_web_server:1::el6
before 0:2.2.17-15.4.ep5.el6
0:2.2.17-15.4.ep5.el6
httpd-manual
Red Hat:jboss_enterprise_web_server:1::el6
before 0:2.2.17-15.4.ep5.el6
0:2.2.17-15.4.ep5.el6
Show 10 moreShow less
Affected packages
PackageAffectedFixed
httpd-tools
Red Hat:jboss_enterprise_web_server:1::el6
before 0:2.2.17-15.4.ep5.el6
0:2.2.17-15.4.ep5.el6
mod_ssl
Red Hat:jboss_enterprise_web_server:1::el6
before 1:2.2.17-15.4.ep5.el6
1:2.2.17-15.4.ep5.el6
apache2
SUSE:Linux Enterprise Software Development Kit 11 SP4
before 2.2.34-70.12.1
2.2.34-70.12.1
apache2
SUSE:Linux Enterprise Point of Sale 11 SP3
before 2.2.34-70.12.1
2.2.34-70.12.1
apache2
SUSE:Linux Enterprise Server 11 SP3-LTSS
before 2.2.34-70.12.1
2.2.34-70.12.1
apache2
SUSE:Linux Enterprise Server 11 SP3-TERADATA
before 2.2.34-70.12.1
2.2.34-70.12.1
apache2
SUSE:Linux Enterprise Server 11 SP4
before 2.2.34-70.12.1
2.2.34-70.12.1
apache2
SUSE:Linux Enterprise Server for SAP Applications 11 SP4
before 2.2.34-70.12.1
2.2.34-70.12.1
apache2
SUSE:Studio Onsite 1.3
before 2.2.34-70.12.1
2.2.34-70.12.1
apache2
openSUSE:Tumbleweed
before 2.4.23-4.1
2.4.23-4.1

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2012-0021 is a low vulnerability (CVSS 2.6) in Apache Http Server, published January 28, 2012. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 30.3%, the 98th percentile. Fixed in apache2 2.2.22-1.

References

Show 128 moreShow less
MoveEnter Open