Skip to content

Known exploited

Is your fleet exposed to CVE-2024-38475?

Apache HTTP Server Improper Escaping of Output Vulnerability. CVE-2024-38475 is in CISA's catalog of vulnerabilities known to be exploited, and it affects packages on 20 Linux releases that SysWard tracks. A host is exposed while it has a build older than the fixed version for its release.

Added to CISA's catalog
May 1, 2025
Due date for US federal agencies
May 22, 2025
Used in ransomware
Not known
Affected software
Apache HTTP Server

What it is

Apache HTTP Server contains an improper escaping of output vulnerability in mod_rewrite that 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.

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.

From a distribution's security advisory

CISA's required 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.

Affected Linux releases

Pick your release for the full list of affected packages and the commands to check and update a host.

ReleaseAffected packagesFixed in
Ubuntu 20.04 LTS apache2, apache2-bin, apache2-data and 5 more 2.4.41-4ubuntu3.19
Ubuntu 22.04 LTS apache2, apache2-bin, apache2-data and 5 more 2.4.52-1ubuntu4.10
Ubuntu 24.04 LTS apache2, apache2-bin, apache2-data and 5 more 2.4.58-1ubuntu8.2
Debian 11 apache2 2.4.61-1~deb11u1
Debian 12 apache2 2.4.61-1~deb12u1
Debian 13 apache2 2.4.60-1
RHEL 8 httpd, httpd-devel, httpd-filesystem and 8 more Depends on the package
RHEL 9 httpd, httpd-core, httpd-devel and 8 more Depends on the package
Rocky Linux 8 httpd, httpd-devel, httpd-filesystem and 8 more Depends on the package
Rocky Linux 9 httpd, httpd-core, httpd-devel and 8 more Depends on the package
AlmaLinux 8 httpd, httpd-devel, httpd-filesystem and 8 more Depends on the package
AlmaLinux 9 httpd, httpd-core, httpd-devel and 8 more Depends on the package
Oracle Linux 8 httpd, httpd-devel, httpd-filesystem and 8 more Depends on the package
Oracle Linux 9 httpd, httpd-core, httpd-devel and 8 more Depends on the package
Amazon Linux 2 httpd, httpd-devel, httpd-filesystem and 7 more Depends on the package
Amazon Linux 2023 httpd, httpd-core, httpd-devel and 8 more Depends on the package
SLES 15 SP6 apache2, apache2-devel, apache2-doc and 4 more Depends on the package
SLES 15 SP7 apache2, apache2-devel, apache2-doc and 3 more Depends on the package
SLES 16 apache2, apache2-devel, apache2-event and 4 more 2.4.63-160000.2.2
openSUSE Leap 15.6 apache2, apache2-devel, apache2-event and 4 more 2.4.58-150600.5.18.1

Releases not listed either are not affected, are past their vendor's support, or are not ones SysWard has security data for.

Why the version number alone can mislead

Long-lived distributions fix a vulnerability in the version they already ship and raise only their own build number. Comparing your package's upstream version with the release where the project fixed the bug gives the wrong answer in both directions. Compare against the fixed build for your release, which is what the release pages list.

Know which of your hosts are affected

SysWard's agent reports the packages installed on each server and matches them against each distribution's own security data, so you see which hosts still have a vulnerable build, and can patch them from the same screen. Free for five servers.

Get started free Check one server now, no signup