Known exploited
CVE-2024-38475 on SLES 15 SP7: affected packages and fixed versions
6 packages on SLES 15 SP7 are affected by CVE-2024-38475 (Apache HTTP Server Improper Escaping of Output Vulnerability). A host is fixed once the package is at the version below or newer.
This vulnerability is known to be exploited. CISA added it to its catalog on May 1, 2025, with a remediation date of May 22, 2025 for US federal agencies.
Affected packages
| Package | Fixed in | Severity | Advisory |
|---|---|---|---|
apache2 |
2.4.62-150700.2.2 |
Important | none listed |
apache2-devel |
2.4.62-150700.2.1 |
Important | none listed |
apache2-doc |
2.4.51-150400.6.29.1 |
Important | none listed |
apache2-prefork |
2.4.62-150700.2.4 |
Important | none listed |
apache2-utils |
2.4.62-150700.2.4 |
Important | none listed |
apache2-worker |
2.4.62-150700.2.4 |
Important | none listed |
Check a host
Show the installed versions and compare with the table above:
rpm -q apache2 apache2-devel apache2-doc apache2-prefork
Update to the fixed build:
sudo zypper refresh && sudo zypper update apache2 apache2-devel apache2-doc apache2-prefork
The fixed version may look older than the upstream release that fixed the bug. SLES 15 SP7 carries the fix in the version it already ships.
What it is
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.
CVE-2024-38475 on other releases
- Ubuntu 20.04 LTS
- Ubuntu 22.04 LTS
- Ubuntu 24.04 LTS
- Debian 11
- Debian 12
- Debian 13
- RHEL 8
- RHEL 9
- Rocky Linux 8
- Rocky Linux 9
- AlmaLinux 8
- AlmaLinux 9
- Oracle Linux 8
- Oracle Linux 9
- Amazon Linux 2
- Amazon Linux 2023
- SLES 15 SP6
- SLES 16
- openSUSE Leap 15.6
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.