products / apache_httpd

Apache HTTP Server

The Apache HTTP Server is one of the most widely deployed web servers on the internet. Vulnerabilities in Apache httpd span module-level issues (mod_proxy, mod_cgi, mod_rewrite) and core request parsing problems. The 2.4.x branch is the current supported series; 2.2.x reached end-of-life in 2017.

api usage

Querying Apache HTTP Server

product slugapache_httpd
version format2.4.49, 2.4.52, 2.4.62
bash
curl "https://api.attestd.io/v1/check?product=apache_httpd&version=2.4.49" \
  -H "Authorization: Bearer $ATTESTD_KEY"

Apache HTTP Server 2.4.49 is the only version affected by CVE-2021-41773 (path traversal with mod_cgi RCE). This version also falls in the range for the mod_proxy SSRF CVE-2021-40438. The response reflects the worst-case aggregation across both, which produces risk_state: "critical" due to active exploitation.

json
{
  "product": "apache_httpd",
  "version": "2.4.49",
  "supported": true,
  "risk_state": "critical",
  "risk_factors": [
    "active_exploitation",
    "remote_code_execution",
    "no_authentication_required",
    "internet_exposed_service",
    "patch_available"
  ],
  "actively_exploited": true,
  "remote_exploitable": true,
  "authentication_required": false,
  "patch_available": true,
  "fixed_version": "2.4.68",
  "confidence": 0.75,
  "cve_ids": [
    "CVE-2006-20001",
    "CVE-2021-41524",
    "CVE-2021-41773",
    "CVE-2021-42013",
    "CVE-2021-44224",
    "CVE-2021-44790",
    "CVE-2022-22719",
    "CVE-2022-22720",
    "CVE-2022-22721",
    "CVE-2022-23943",
    "CVE-2022-26377",
    "CVE-2022-28330",
    "CVE-2022-28614",
    "CVE-2022-28615",
    "CVE-2022-29404",
    "CVE-2022-30556",
    "CVE-2022-31813",
    "CVE-2022-36760",
    "CVE-2022-37436",
    "CVE-2023-25690",
    "CVE-2023-27522",
    "CVE-2023-31122",
    "CVE-2023-38709",
    "CVE-2023-45802",
    "CVE-2024-24795",
    "CVE-2024-27316",
    "CVE-2024-38472",
    "CVE-2024-38473",
    "CVE-2024-38474",
    "CVE-2024-38475",
    "CVE-2024-38476",
    "CVE-2024-38477",
    "CVE-2024-39573",
    "CVE-2024-40898",
    "CVE-2024-42516",
    "CVE-2024-43204",
    "CVE-2024-43394",
    "CVE-2024-47252",
    "CVE-2025-23048",
    "CVE-2025-49630",
    "CVE-2025-49812",
    "CVE-2025-53020",
    "CVE-2025-55753",
    "CVE-2025-58098",
    "CVE-2025-59775",
    "CVE-2025-65082",
    "CVE-2025-66200",
    "CVE-2026-24072",
    "CVE-2026-28780",
    "CVE-2026-29167",
    "CVE-2026-29168",
    "CVE-2026-29169",
    "CVE-2026-29170",
    "CVE-2026-33006",
    "CVE-2026-33007",
    "CVE-2026-33523",
    "CVE-2026-33857",
    "CVE-2026-34032",
    "CVE-2026-34059",
    "CVE-2026-34355",
    "CVE-2026-34356",
    "CVE-2026-42535",
    "CVE-2026-42536",
    "CVE-2026-43951",
    "CVE-2026-44119",
    "CVE-2026-44185",
    "CVE-2026-44186",
    "CVE-2026-44631",
    "CVE-2026-49975"
  ],
  "cves": null,
  "max_epss": 0.99992,
  "last_updated": "2026-08-16T05:19:29.930132Z",
  "supply_chain": null,
  "supply_chain_monitored": false,
  "typosquat": null
}
safe version

Apache HTTP Server 2.4.51 is outside the CVE-2021-41773 / CVE-2021-42013 path traversal window.

bash
curl "https://api.attestd.io/v1/check?product=apache_httpd&version=2.4.51" \
  -H "Authorization: Bearer $ATTESTD_KEY"
notable cves

CVE history

Apache httpd CVEs tend to fall into two categories: path handling bugs that allow traversal out of the document root, and proxy module flaws that allow server-side request forgery or request smuggling. A few versions (2.4.49, 2.4.50) had exceptionally severe vulnerabilities that were patched within days of disclosure.

CVEDescriptionAffectsCVSS
CVE-2021-41773KEV
Path traversal vulnerability allowing access to files outside the document root. When mod_cgi is enabled, this becomes an unauthenticated remote code execution path. Affects 2.4.49 only.2.4.49 only9.8
CVE-2021-42013KEV
Incomplete fix for CVE-2021-41773. The patch could be bypassed using percent-encoded path segments. Also allows RCE with mod_cgi. Affects 2.4.49 and 2.4.50.2.4.49, 2.4.509.8
CVE-2021-40438
Server-side request forgery in mod_proxy. A crafted request-uri can cause the proxy to forward requests to an attacker-controlled origin server. Affects all 2.4.x through 2.4.48.2.4.0 to 2.4.489.0
CVE-2022-22720
HTTP request smuggling. Apache httpd fails to close inbound connections when encountering errors sending data to the client, leaving the connection available for request smuggling via HTTP/1.1.to 2.4.529.8
CVE-2022-31813
mod_proxy may not send the X-Forwarded-* headers to the origin server when there are hop-by-hop headers present. Can cause incorrect trust decisions by backend applications that depend on those headers.to 2.4.539.8

KEV = CISA Known Exploited Vulnerabilities catalog. Active exploitation confirmed.

version notes

Version format

Apache httpd uses standard three-part version strings (2.4.49). No normalization is required. Pass the version exactly as reported by the server (the output of httpd -v or the Server response header).

related