The log_cookie function in mod_log_config.c in the mod_log_config module in the Apache…
Priority LOW 37CWE-20Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · Partial
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat.
Summary
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.
Why it matters now
EPSS 0.30337 98th percentileScored 2026-11-07
Fix Fixed Red Hat: 2 advisories
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 5
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:apache:http_server:2.2.17:*:*:*:*:*:*:* | 2.2.17 | Vulnerable | Apache |
| cpe:2.3:a:apache:http_server:2.2.18:*:*:*:*:*:*:* | 2.2.18 | Vulnerable | Apache |
| cpe:2.3:a:apache:http_server:2.2.19:*:*:*:*:*:*:* | 2.2.19 | Vulnerable | Apache |
| cpe:2.3:a:apache:http_server:2.2.20:*:*:*:*:*:*:* | 2.2.20 | Vulnerable | Apache |
| cpe:2.3:a:apache:http_server:2.2.21:*:*:*:*:*:*:* | 2.2.21 | Vulnerable | Apache |
- cpe:2.3:a:apache:http_server:2.2.17:*:*:*:*:*:*:* Versions 2.2.17 Vulnerable ·Apache
- cpe:2.3:a:apache:http_server:2.2.18:*:*:*:*:*:*:* Versions 2.2.18 Vulnerable ·Apache
- cpe:2.3:a:apache:http_server:2.2.19:*:*:*:*:*:*:* Versions 2.2.19 Vulnerable ·Apache
- cpe:2.3:a:apache:http_server:2.2.20:*:*:*:*:*:*:* Versions 2.2.20 Vulnerable ·Apache
- cpe:2.3:a:apache:http_server:2.2.21:*:*:*:*:*:*:* Versions 2.2.21 Vulnerable ·Apache
Remediation
Red Hat 2 advisories
- RHSA-2012:0543 Released 2012-05-07 · Red Hat rating Moderatehttpd security and bug fix update
- Red Hat JBoss Web Server 1.0
- RHSA-2012:0542 Released 2012-05-07 · Red Hat rating Moderatehttpd security and bug fix update
- Red Hat JBoss Enterprise Web Server 1 for RHEL 5 Server httpd-2.2.17-15.4.ep5.el5, httpd-2.2.17-15.4.ep5.el5.i386, httpd-devel-2.2.17-15.4.ep5.el5 +5
- Red Hat JBoss Enterprise Web Server 1 for RHEL 6 Server httpd-2.2.17-15.4.ep5.el6, httpd-2.2.17-15.4.ep5.el6.i386, httpd-devel-2.2.17-15.4.ep5.el6 +7
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat JBoss Enterprise Web Server 1 for RHEL 5 Server | Fixed | RHSA-2012:0542 |
| Red Hat JBoss Enterprise Web Server 1 for RHEL 6 Server | Fixed | RHSA-2012:0542 |
| Red Hat JBoss Web Server 1.0 | Fixed | RHSA-2012:0543 |
Not affected: 3 products
- Red Hat Enterprise Linux 4
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
Timeline
- 2026-10-02 Threatist record created from CVE-2012-0021
- 2026-10-03 Alias added: GHSA-mq76-p4cp-m2vg
References
Patch 2
Advisory 9
Other 16
- https://bugzilla.redhat.com/show_bug.cgi?id=785065
- http://support.apple.com/kb/HT5501
- http://www.oracle.com/technetwork/topics/security/cpujul2012-392727.html
- [httpd-cvs] 20190815 svn commit: r1048743 [3/4] - in /websites/staging/httpd/trunk/content: ./ security/vulnerabilities-httpd.xml security/vulnerabilities_13.html security/vulnerabilities_20.html security/vulnerabilities_22.html security/vulnerabilities_24.html
- [httpd-cvs] 20190815 svn commit: r1048742 [3/4] - in /websites/staging/httpd/trunk/content: ./ security/vulnerabilities-httpd.xml security/vulnerabilities_13.html security/vulnerabilities_20.html security/vulnerabilities_22.html security/vulnerabilities_24.html
- [httpd-cvs] 20200401 svn commit: r1058586 [3/4] - in /websites/staging/httpd/trunk/content: ./ security/vulnerabilities-httpd.xml security/vulnerabilities_13.html security/vulnerabilities_20.html security/vulnerabilities_22.html security/vulnerabilities_24.html
- [httpd-cvs] 20200401 svn commit: r1058587 [3/4] - in /websites/staging/httpd/trunk/content: ./ security/vulnerabilities-httpd.xml security/vulnerabilities_13.html security/vulnerabilities_20.html security/vulnerabilities_22.html security/vulnerabilities_24.html
- [httpd-cvs] 20210330 svn commit: r1073139 [1/13] - in /websites/staging/httpd/trunk/content: ./ security/json/
- [httpd-cvs] 20210330 svn commit: r1073140 [3/4] - in /websites/staging/httpd/trunk/content: ./ security/cvejsontohtml.py security/vulnerabilities_13.html security/vulnerabilities_20.html security/vulnerabilities_22.html security/vulnerabilities_24.html
- [httpd-cvs] 20210330 svn commit: r1073139 [8/13] - in /websites/staging/httpd/trunk/content: ./ security/json/
- [httpd-cvs] 20210330 svn commit: r1888194 [8/13] - /httpd/site/trunk/content/security/json/
- [httpd-cvs] 20210330 svn commit: r1073149 [8/13] - in /websites/staging/httpd/trunk/content: ./ security/ security/json/
- [httpd-cvs] 20210330 svn commit: r1073146 [2/3] - in /websites/staging/httpd/trunk/content: ./ security/cvejsontohtml.py security/vulnerabilities-httpd.xml security/vulnerabilities_22.html security/vulnerabilities_24.html
- [httpd-cvs] 20210330 svn commit: r1073149 [1/13] - in /websites/staging/httpd/trunk/content: ./ security/ security/json/
- [httpd-cvs] 20210603 svn commit: r1075360 [2/3] - in /websites/staging/httpd/trunk/content: ./ security/json/CVE-2021-31618.json security/vulnerabilities_13.html security/vulnerabilities_20.html security/vulnerabilities_22.html security/vulnerabilities_24.html
- [httpd-cvs] 20210606 svn commit: r1075470 [3/4] - in /websites/staging/httpd/trunk/content: ./ security/json/CVE-2020-13938.json security/vulnerabilities_13.html security/vulnerabilities_20.html security/vulnerabilities_22.html security/vulnerabilities_24.html
More Apache Http Server vulnerabilities
- TI-2021-18535 Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773) KEVCVSS 3.1CRITICAL 9.8
- TI-2021-18417 Path traversal and file disclosure vulnerability in Apache HTTP Server 2.4.49 KEVCVSS 3.1CRITICAL 9.8
- TI-2024-25716 Apache HTTP Server weakness in mod_rewrite when first segment of substitution matches filesystem path. KEVCVSS 3.1CRITICAL 9.1
- TI-2021-17490 mod_proxy SSRF KEVCVSS 3.1CRITICAL 9.0
- TI-2019-00184 Use after free in Apache HTTP Server KEVCVSS 3.1HIGH 7.8
- TI-2009-03392 The TLS protocol, and the SSL protocol 3.0 and possibly earlier, as used in Microsoft… CVSS 3.1CRITICAL 9.8
Sources
- CVE-2012-0021 · CVE Program
- CVE-2012-0021 · NVD
- FIRST EPSS
- GHSA-mq76-p4cp-m2vg · GitHub Advisory Database · CC BY 4.0
- CVE-2012-0021 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences