Skip to content

Known exploited

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

10 packages on Amazon Linux 2 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.amzn2.0.1 Important ALAS2-2024-2594
httpd-devel 2.4.61-1.amzn2.0.1 Important ALAS2-2024-2594
httpd-filesystem 2.4.61-1.amzn2.0.1 Important ALAS2-2024-2594
httpd-manual 2.4.61-1.amzn2.0.1 Important ALAS2-2024-2594
httpd-tools 2.4.61-1.amzn2.0.1 Important ALAS2-2024-2594
mod_ldap 2.4.61-1.amzn2.0.1 Important ALAS2-2024-2594
mod_md 2.4.61-1.amzn2.0.1 Important ALAS2-2024-2594
mod_proxy_html 1:2.4.61-1.amzn2.0.1 Important ALAS2-2024-2594
mod_session 2.4.61-1.amzn2.0.1 Important ALAS2-2024-2594
mod_ssl 1:2.4.61-1.amzn2.0.1 Important ALAS2-2024-2594

Check a host

Show the installed versions and compare with the table above:

rpm -q httpd httpd-devel httpd-filesystem httpd-manual

Update to the fixed build:

sudo yum update httpd httpd-devel httpd-filesystem httpd-manual

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