Skip to content

Known exploited

CVE-2021-41773 on Amazon Linux 2: affected packages and fixed versions

10 packages on Amazon Linux 2 are affected by CVE-2021-41773 (Apache HTTP Server Path Traversal 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 November 3, 2021, with a remediation date of November 17, 2021 for US federal agencies. It has been used in ransomware campaigns.

Affected packages

PackageFixed inSeverityAdvisory
httpd 2.4.51-1.amzn2 Important ALAS2-2021-1716
httpd-devel 2.4.51-1.amzn2 Important ALAS2-2021-1716
httpd-filesystem 2.4.51-1.amzn2 Important ALAS2-2021-1716
httpd-manual 2.4.51-1.amzn2 Important ALAS2-2021-1716
httpd-tools 2.4.51-1.amzn2 Important ALAS2-2021-1716
mod_ldap 2.4.51-1.amzn2 Important ALAS2-2021-1716
mod_md 2.4.51-1.amzn2 Important ALAS2-2021-1716
mod_proxy_html 1:2.4.51-1.amzn2 Important ALAS2-2021-1716
mod_session 2.4.51-1.amzn2 Important ALAS2-2021-1716
mod_ssl 1:2.4.51-1.amzn2 Important ALAS2-2021-1716

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

A flaw was found in a change made to path normalization in Apache HTTP Server 2.4.49. An attacker could use a path traversal attack to map URLs to files outside the directories configured by Alias-like directives. If files outside of these directories are not protected by the usual default configuration "require all denied", these requests can succeed. If CGI scripts are also enabled for these aliased pathes, this could allow for remote code execution. This issue is known to be exploited in t...

CVE-2021-41773 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