Skip to content

Known exploited

Is your fleet exposed to CVE-2021-40438?

Apache HTTP Server-Side Request Forgery (SSRF). CVE-2021-40438 is in CISA's catalog of vulnerabilities known to be exploited, and it affects packages on 12 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
December 1, 2021
Due date for US federal agencies
December 15, 2021
Used in ransomware
Known
Affected software
Apache

What it is

A crafted request uri-path can cause mod_proxy to forward the request to an origin server choosen by the remote user. This issue affects Apache HTTP Server 2.4.48 and earlier.

A Server-Side Request Forgery (SSRF) flaw was found in mod_proxy of httpd. This flaw allows a remote, unauthenticated attacker to make the httpd server forward requests to an arbitrary server. The attacker could get, modify, or delete resources on other services that may be behind a firewall and inaccessible otherwise. The impact of this flaw varies based on what services and resources are available on the httpd network. 2005117: CVE-2021-40438 httpd: mod_proxy: SSRF via a crafted request uri-path containing "unix:"

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
Ubuntu 20.04 LTS apache2, apache2-bin, apache2-data and 5 more 2.4.41-4ubuntu3.6
Ubuntu 22.04 LTS apache2, apache2-bin, apache2-data and 5 more 2.4.48-3.1ubuntu2
Debian 11 apache2 2.4.51-1~deb11u1
Debian 12 apache2 2.4.49-1
Debian 13 apache2 2.4.49-1
RHEL 8 httpd, httpd-devel, httpd-filesystem and 8 more Depends on the package
Rocky Linux 8 httpd, httpd-devel, httpd-filesystem and 8 more Depends on the package
AlmaLinux 8 httpd, httpd-devel, httpd-filesystem and 8 more Depends on the package
Oracle Linux 8 httpd, httpd-devel, httpd-filesystem and 8 more Depends on the package
Amazon Linux 2 httpd, httpd-devel, httpd-filesystem and 7 more Depends on the package
SLES 15 SP7 apache2-doc 2.4.51-150400.6.43.1
Arch Linux apache 2.4.49-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