Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

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

100
Patch now
CRITICAL 9.1EXPLOITEDREMOTEWATCHLISTUPGRADEMITIGATEUPGRADE

CVE-2024-38475 is a critical-severity flaw (CVSS 9.1) affecting http server, ontap 9, sma 200 firmware, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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

Why this priority

  • Critical severity
  • EPSS top 1%: very likely to be exploited
  • Exploited in the wild (CISA KEV)
  • Public exploit reference
  • CISA SSVC: automatable with total technical impact
  • Remotely exploitable, no login, no user action
  • On your watchlist

A fixed release or distro patch exists.

Risk facts

CVSS score9.1 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance100.0% (top 1%)
CISA exploited listYes, fix due 2025-05-22
WeaknessCWE-116
Published2024-07-01
Last modified2026-06-17
Publisher (CNA): Apache Software Foundation · Vendor: apache · netapp · sonicwall

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

apache http server UPGRADE
Affected: >= 2.4.0 and < 2.4.60
Fixed in: 2.4.60
Safe to downgrade to: a release before 2.4.0
1. Check installed version
apt-cache policy http-server || rpm -q http-server || http-server --version
2. UPGRADE to 2.4.60 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade http-server
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade http-server
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 2.4.0 (Debian / Ubuntu)
apt-cache madison http-server sudo apt install http-server=<VERSION_BEFORE_2.4.0> sudo apt-mark hold http-server
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list http-server sudo dnf downgrade http-server-<VERSION_BEFORE_2.4.0> sudo dnf versionlock add http-server
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
netapp ontap 9 MITIGATE
Affected: all versions
Fixed in: no fixed release known
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy ontap-9 || rpm -q ontap-9 || ontap-9 --version
No fixed or unaffected release known
Apply the vendor mitigation from the advisory, disable the affected feature, or restrict network access.
sonicwall sma 200 firmware UPGRADE
Affected: < 10.2.1.14-75sv
Fixed in: 10.2.1.14-75sv
Safe to downgrade to: no unaffected older release
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
sonicwall sma 210 firmware UPGRADE
Affected: < 10.2.1.14-75sv
Fixed in: 10.2.1.14-75sv
Safe to downgrade to: no unaffected older release
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
sonicwall sma 400 firmware UPGRADE
Affected: < 10.2.1.14-75sv
Fixed in: 10.2.1.14-75sv
Safe to downgrade to: no unaffected older release
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
sonicwall sma 410 firmware UPGRADE
Affected: < 10.2.1.14-75sv
Fixed in: 10.2.1.14-75sv
Safe to downgrade to: no unaffected older release
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.

Exact fixes by distribution

A distro patch exists: prefer upgrading over downgrading.
Fedora ELN · gram_grep · FIXED · 0.10.4-1.eln159 · FEDORA-2026-0808475f2a · source
sudo dnf upgrade --advisory=FEDORA-2026-0808475f2a
Fedora 46 · wesnoth · FIXED · 1.19.29-1.fc46 · FEDORA-2026-58f458e24e · source
sudo dnf upgrade --advisory=FEDORA-2026-58f458e24e
Ubuntu 20.04 · apache2 · FIXED · 2.4.41-4ubuntu3.19
sudo apt update && sudo apt install --only-upgrade apache2 dpkg --compare-versions "$(dpkg-query -W -f='${Version}' apache2)" ge "2.4.41-4ubuntu3.19" && echo PATCHED || echo STILL-VULNERABLE
Ubuntu 22.04 · apache2 · FIXED · 2.4.52-1ubuntu4.10
sudo apt update && sudo apt install --only-upgrade apache2 dpkg --compare-versions "$(dpkg-query -W -f='${Version}' apache2)" ge "2.4.52-1ubuntu4.10" && echo PATCHED || echo STILL-VULNERABLE
Ubuntu 24.04 · apache2 · FIXED · 2.4.58-1ubuntu8.2
sudo apt update && sudo apt install --only-upgrade apache2 dpkg --compare-versions "$(dpkg-query -W -f='${Version}' apache2)" ge "2.4.58-1ubuntu8.2" && echo PATCHED || echo STILL-VULNERABLE
Ubuntu 24.10 · apache2 · FIXED · 2.4.62-1ubuntu1
sudo apt update && sudo apt install --only-upgrade apache2 dpkg --compare-versions "$(dpkg-query -W -f='${Version}' apache2)" ge "2.4.62-1ubuntu1" && echo PATCHED || echo STILL-VULNERABLE
Ubuntu 25.04 · apache2 · FIXED · 2.4.62-1ubuntu1
sudo apt update && sudo apt install --only-upgrade apache2 dpkg --compare-versions "$(dpkg-query -W -f='${Version}' apache2)" ge "2.4.62-1ubuntu1" && echo PATCHED || echo STILL-VULNERABLE
Debian 12 · apache2 · FIXED · 2.4.61-1~deb12u1
sudo apt update && sudo apt install --only-upgrade apache2 dpkg --compare-versions "$(dpkg-query -W -f='${Version}' apache2)" ge "2.4.61-1~deb12u1" && echo PATCHED || echo STILL-VULNERABLE
Debian 13 · apache2 · FIXED · 2.4.60-1
sudo apt update && sudo apt install --only-upgrade apache2 dpkg --compare-versions "$(dpkg-query -W -f='${Version}' apache2)" ge "2.4.60-1" && echo PATCHED || echo STILL-VULNERABLE
RHEL 7.7 Advanced Update Support · httpd · FIXED · httpd-2.4.6-90.el7_7.4
sudo dnf upgrade --advisory=RHSA-2024:4938 rpm -q httpd
RHEL 7 Extended Lifecycle Support · httpd · FIXED · httpd-2.4.6-99.el7_9.2
sudo dnf upgrade --advisory=RHSA-2024:4943 rpm -q httpd
RHEL 9 · httpd · FIXED · httpd-2.4.57-11.el9_4
sudo dnf upgrade --advisory=RHSA-2024:4726 rpm -q httpd
RHEL 9.0 Update Services for SAP Solutions · httpd · FIXED · httpd-2.4.51-7.el9_0.7
sudo dnf upgrade --advisory=RHSA-2024:4863 rpm -q httpd
RHEL 9.2 Extended Update Support · httpd · FIXED · httpd-2.4.53-11.el9_2.8
sudo dnf upgrade --advisory=RHSA-2024:4862 rpm -q httpd
Alpine 3.20 · apache2 · FIXED · apache2-2.4.60-r0
apk add --upgrade apache2 apk info -v apache2
Alpine 3.21 · apache2 · FIXED · apache2-2.4.60-r0
apk add --upgrade apache2 apk info -v apache2
Alpine 3.22 · apache2 · FIXED · apache2-2.4.60-r0
apk add --upgrade apache2 apk info -v apache2
Alpine 3.23 · apache2 · FIXED · apache2-2.4.60-r0
apk add --upgrade apache2 apk info -v apache2
Amazon Linux 2023 · see advisory · FIXED · ALAS2023-2024-656 · source
sudo dnf update --advisory=ALAS2023-2024-656
Amazon Linux 2 · see advisory · FIXED · ALAS2-2024-2594 · source
sudo yum update --advisory=ALAS2-2024-2594
Amazon Linux 1 · see advisory · FIXED · ALAS-2024-1944 · source
sudo yum update --advisory=ALAS-2024-1944

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · CISA KEV catalog · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2024-38475?

http server: upgrade to 2.4.60; ontap 9: mitigate or apply the listed mitigation; sma 200 firmware: upgrade to 10.2.1.14-75sv. Exact commands for each OS are on this page.

Is CVE-2024-38475 being exploited?

Yes. CVE-2024-38475 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.

What does CVE-2024-38475 affect?

CVE-2024-38475 affects http server, ontap 9, sma 200 firmware. Severity is critical (CVSS 9.1). 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

How urgent is CVE-2024-38475?

Priority 100/100. Critical severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action; On your watchlist

Software pages

Apache HTTP Server vulnerabilities · SonicWall vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.