Skip to content

Known exploited

CVE-2024-38475 on Amazon Linux 2023: affected packages and fixed versions

11 packages on Amazon Linux 2023 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

PackageFixed inSeverityAdvisory
httpd 2.4.61-1.amzn2023 Important ALAS2023-2024-656
httpd-core 2.4.61-1.amzn2023 Important ALAS2023-2024-656
httpd-devel 2.4.61-1.amzn2023 Important ALAS2023-2024-656
httpd-filesystem 2.4.61-1.amzn2023 Important ALAS2023-2024-656
httpd-manual 2.4.61-1.amzn2023 Important ALAS2023-2024-656
httpd-tools 2.4.61-1.amzn2023 Important ALAS2023-2024-656
mod_ldap 2.4.61-1.amzn2023 Important ALAS2023-2024-656
mod_lua 2.4.61-1.amzn2023 Important ALAS2023-2024-656
mod_proxy_html 1:2.4.61-1.amzn2023 Important ALAS2023-2024-656
mod_session 2.4.61-1.amzn2023 Important ALAS2023-2024-656
mod_ssl 1:2.4.61-1.amzn2023 Important ALAS2023-2024-656

Check a host

Show the installed versions and compare with the table above:

rpm -q httpd httpd-core httpd-devel httpd-filesystem

Update to the fixed build:

sudo dnf upgrade httpd httpd-core httpd-devel httpd-filesystem

The fixed version may look older than the upstream release that fixed the bug. Amazon Linux 2023 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

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