Skip to content

Known exploited

CVE-2021-42013 on Arch Linux: affected packages and fixed versions

1 package on Arch Linux is affected by CVE-2021-42013 (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
apache 2.4.51-1 Critical ASA-202110-1

Check a host

Show the installed version and compare with the table above:

pacman -Q apache

Update to the fixed build:

sudo pacman -Syu

The fixed version may look older than the upstream release that fixed the bug. Arch Linux carries the fix in the version it already ships.

What it is

A path transversal and remote code execution flaw was found in Apache HTTP Server 2.4.49 and 2.4.50. A remote attacker could use this flaw to map URLs to files outside the expected document root. Additionally, this flaw could leak the source of interpreted files like CGI scripts. 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 paths, this could allow for remote code execution. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability. This is an incomplete fix for CVE-2021-41773. 2011900: CVE-2021-42013 httpd: path traversal and remote code execution (incomplete fix of CVE-2021-41773)

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