{
  "id": "CVE-2024-38475",
  "url": "https://spydr.io/cve/CVE-2024-38475",
  "published": "2024-07-01T19:15:04.883Z",
  "modified": "2026-06-17T07:40:21.380Z",
  "score": 9.1,
  "severity": "critical",
  "cvss_version": "3.1",
  "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N",
  "score_source": "NVD",
  "epss": 0.99957,
  "epss_percentile": 0.99975,
  "exploited": true,
  "kev": {
    "added": "2025-05-01",
    "due": "2025-05-22",
    "action": "Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.",
    "ransomware": "Unknown",
    "name": "Apache HTTP Server Improper Escaping of Output Vulnerability",
    "notes": "This vulnerability affects a common open-source component, third-party library, or a protocol used by different products. Please check with specific vendors for information on patching status. For more information, please see: https://httpd.apache.org/security/vulnerabilities_24.html ; https://nvd.nist.gov/vuln/detail/CVE-2024-38475"
  },
  "ssvc_exploitation": "active",
  "vendors": [
    "Apache Software Foundation",
    "apache",
    "netapp"
  ],
  "products": [
    "Apache Software Foundation Apache HTTP Server",
    "apache http_server",
    "netapp ontap_9"
  ],
  "cwes": [
    "CWE-116"
  ],
  "description": "Improper escaping of output in mod_rewrite in Apache HTTP Server 2.4.59 and earlier allows an attacker to map URLs to filesystem locations that are permitted to be served by the server but are not intentionally/directly reachable by any URL, resulting in code execution or source code disclosure. Substitutions in server context that use a backreferences or variables as the first segment of the substitution are affected. Some unsafe RewiteRules will be broken by this change and the rewrite flag \"UnsafePrefixStat\" can be used to opt back in once ensuring the substitution is appropriately constrained.",
  "status": "Analyzed",
  "score_type": "Primary",
  "scores": {
    "cvss_v40": null,
    "cvss_v31": 9.1,
    "cvss_v30": null
  },
  "references": [
    {
      "url": "https://httpd.apache.org/security/vulnerabilities_24.html",
      "tags": [
        "Vendor Advisory"
      ]
    },
    {
      "url": "https://security.netapp.com/advisory/ntap-20240712-0001/",
      "tags": [
        "Third Party Advisory"
      ]
    },
    {
      "url": "http://www.openwall.com/lists/oss-security/2024/07/01/8",
      "tags": [
        "Third Party Advisory"
      ]
    },
    {
      "url": "https://github.com/apache/httpd/commit/9a6157d1e2f7ab15963020381054b48782bc18cf",
      "tags": [
        "Patch"
      ]
    },
    {
      "url": "https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2024-0018",
      "tags": [
        "Third Party Advisory"
      ]
    },
    {
      "url": "https://www.blackhat.com/us-24/briefings/schedule/index.html#confusion-attacks-exploiting-hidden-semantic-ambiguity-in-apache-http-server-pre-recorded-40227",
      "tags": [
        "Third Party Advisory"
      ]
    },
    {
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-38475",
      "tags": [
        "Third Party Advisory",
        "US Government Resource"
      ]
    }
  ],
  "nvd_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-38475",
  "covered_in": [],
  "attribution": [
    {
      "source": "NVD",
      "url": "https://nvd.nist.gov",
      "notice": "This product uses data from the NVD API but is not endorsed or certified by the NVD."
    },
    {
      "source": "CISA KEV",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "notice": "Known exploited vulnerabilities from the CISA KEV catalog."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss",
      "notice": "Exploit prediction scores from FIRST EPSS."
    }
  ]
}
