Skip to content
RedCVE

CVE-2024-38475Apache HTTP Server Improper Escaping of Output Vulnerability

ExploitedApachenetappSonicWallPublished:

CVSS score

9.1

Critical

CVSS 3.1 from NVD

Exploit probability (EPSS)

100.0%

100.0% chance of exploitation in the next 30 days, higher than 100.0% of all CVEs.

CISA KEV

Actively exploited

Added to KEV on 1 May 2025.

US federal deadline to fix: 22 May 2025.

Official 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.

Source: NVD · CNA: security@apache.org

How to fix it, step by step

  1. Treat it as urgent

    Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 1 May 2025.

    US federal agencies must fix it by 22 May 2025. It's a sensible deadline for everyone else too.

    CISA's full instruction
    Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
  2. Check whether you're affected

    Find every system running Apache Http Server, netapp Ontap 9, SonicWall Sma 200 Firmware, SonicWall Sma 210 Firmware, SonicWall Sma 400 Firmware and compare its version with the affected versions.

  3. Update to a fixed version

    • Update Http Server to 2.4.60 or later.
    • Update Sma 200 Firmware, Sma 210 Firmware, Sma 400 Firmware to 10.2.1.14-75sv or later.
  4. If you can't update right away

    Apply the workaround or mitigation in the vendor's advisory until you can update:

  5. Check for signs of compromise

    Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.

  6. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected products

Affected productsVersions
Apache Http Server≥ 2.4.0, < 2.4.60 · ≥ 2.4.0, ≤ 2.4.59
netapp Ontap 9Not specified
SonicWall Sma 200 Firmware< 10.2.1.14-75sv
SonicWall Sma 210 Firmware< 10.2.1.14-75sv
SonicWall Sma 400 Firmware< 10.2.1.14-75sv
SonicWall Sma 410 Firmware< 10.2.1.14-75sv
SonicWall Sma 500v Firmware< 10.2.1.14-75sv
Apache Apache HTTP Server≥ 2.4.0, ≤ 2.4.59

Weakness

Timeline

  1. Published:
  2. Added to CISA KEV:
  3. Last modified:

Frequently asked questions

Is CVE-2024-38475 being exploited?

Yes. CISA added CVE-2024-38475 to its Known Exploited Vulnerabilities catalog on 1 May 2025, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 100.0% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2024-38475?

CVE-2024-38475 has a CVSS 3.1 base score of 9.1 (critical).

Which versions are affected?

Apache Http Server (≥ 2.4.0, < 2.4.60; ≥ 2.4.0, ≤ 2.4.59), Netapp Ontap 9, SonicWall Sma 200 Firmware (< 10.2.1.14-75sv), SonicWall Sma 210 Firmware (< 10.2.1.14-75sv), SonicWall Sma 400 Firmware (< 10.2.1.14-75sv), SonicWall Sma 410 Firmware (< 10.2.1.14-75sv)

Is there a patch for CVE-2024-38475?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.