Skip to content

Known exploited

Is your fleet exposed to CVE-2021-42013?

Apache HTTP Server Path Traversal Vulnerability. CVE-2021-42013 is in CISA's catalog of vulnerabilities known to be exploited, and it affects packages on 7 Linux releases that SysWard tracks. A host is exposed while it has a build older than the fixed version for its release.

Added to CISA's catalog
November 3, 2021
Due date for US federal agencies
November 17, 2021
Used in ransomware
Known
Affected software
Apache HTTP Server

What it is

Apache HTTP Server contains a path traversal vulnerability that allows an attacker to perform remote code execution if files outside directories configured by Alias-like directives are not under default require all denied or if CGI scripts are enabled. This CVE ID resolves an incomplete patch for CVE-2021-41773.

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)

From a distribution's security advisory

CISA's required action: Apply updates per vendor instructions.

Affected Linux releases

Pick your release for the full list of affected packages and the commands to check and update a host.

ReleaseAffected packagesFixed in
Debian 12 apache2 2.4.51-1
Debian 13 apache2 2.4.51-1
Amazon Linux 2 httpd, httpd-devel, httpd-filesystem and 7 more Depends on the package
SLES 15 SP6 apache2, apache2-prefork 2.4.58-150600.3.2
SLES 15 SP7 apache2, apache2-devel, apache2-prefork and 2 more Depends on the package
SLES 16 apache2, apache2-devel, apache2-event and 4 more 2.4.63-160000.2.2
Arch Linux apache 2.4.51-1

Releases not listed either are not affected, are past their vendor's support, or are not ones SysWard has security data for.

Why the version number alone can mislead

Long-lived distributions fix a vulnerability in the version they already ship and raise only their own build number. Comparing your package's upstream version with the release where the project fixed the bug gives the wrong answer in both directions. Compare against the fixed build for your release, which is what the release pages list.

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