Skip to content

Known exploited

CVE-2021-40438 on Rocky Linux 8: affected packages and fixed versions

11 packages on Rocky Linux 8 are affected by CVE-2021-40438 (Apache HTTP Server-Side Request Forgery (SSRF)). 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 December 1, 2021, with a remediation date of December 15, 2021 for US federal agencies. It has been used in ransomware campaigns.

Affected packages

PackageFixed inSeverityAdvisory
httpd 2.4.37-39.module+el8.4.0+571+fd70afb1
2.4.37-39.module+el8.4.0+12865+a7065a39.1
Important RLSA-2021:3816
httpd-devel 2.4.37-39.module+el8.4.0+571+fd70afb1
2.4.37-39.module+el8.4.0+12865+a7065a39.1
Important RLSA-2021:3816
httpd-filesystem 2.4.37-39.module+el8.4.0+571+fd70afb1
2.4.37-39.module+el8.4.0+12865+a7065a39.1
Important RLSA-2021:3816
httpd-manual 2.4.37-39.module+el8.4.0+571+fd70afb1
2.4.37-39.module+el8.4.0+12865+a7065a39.1
Important RLSA-2021:3816
httpd-tools 2.4.37-39.module+el8.4.0+571+fd70afb1
2.4.37-39.module+el8.4.0+12865+a7065a39.1
Important RLSA-2021:3816
mod_http2 1.15.7-3.module+el8.4.0+553+7a69454b
1.15.7-3.module+el8.4.0+8625+d397f3da
1.15.7-3.module+el8.5.0+695+1fa8055e
Important RLSA-2021:3816
mod_ldap 2.4.37-39.module+el8.4.0+571+fd70afb1
2.4.37-39.module+el8.4.0+12865+a7065a39.1
Important RLSA-2021:3816
mod_md 1:2.0.8-8.module+el8.3.0+6814+67d1e611
1:2.0.8-8.module+el8.4.0+553+7a69454b
1:2.0.8-8.module+el8.5.0+695+1fa8055e
Important RLSA-2021:3816
mod_proxy_html 1:2.4.37-39.module+el8.4.0+571+fd70afb1
1:2.4.37-39.module+el8.4.0+12865+a7065a39.1
Important RLSA-2021:3816
mod_session 2.4.37-39.module+el8.4.0+571+fd70afb1
2.4.37-39.module+el8.4.0+12865+a7065a39.1
Important RLSA-2021:3816
mod_ssl 1:2.4.37-39.module+el8.4.0+571+fd70afb1
1:2.4.37-39.module+el8.4.0+12865+a7065a39.1
Important RLSA-2021:3816

Where a package lists several versions, the vendor fixed it separately for each minor release or module stream it maintains. The one for your minor release applies to your host.

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 dnf upgrade httpd httpd-devel httpd-filesystem httpd-manual

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

What it is

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:"

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