CVE-2021-44224
Possible NULL dereference or SSRF in forward proxy configurations in Apache HTTP Server 2.4.51 and earlier
Check your servers for CVE-2021-44224
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2021-44224 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
A crafted URI sent to httpd configured as a forward proxy (ProxyRequests on) can cause a crash (NULL pointer dereference) or, for configurations mixing forward and reverse proxy declarations, can allow for requests to be directed to a declared Unix Domain Socket endpoint (Server Side Request Forgery). This issue affects Apache HTTP Server 2.4.7 up to 2.4.51 (included).
Exploitation
EPSS 82.2%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 99.6% of all scored CVEs. Scores of 1 Dec 2026.
Weakness
- CWE-476 NULL Pointer Dereference
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Apache HTTP Server |
affected from 2.4.7, before Apache HTTP Server 2.4*
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2021-44224 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2021-44224RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2021-44224Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2021-44224
trivy image --scanners vuln IMAGE | grep CVE-2021-44224
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- FEDORA-2021-29a536c2ae lists.fedoraproject.org · vendor advisory
- DSA-5035 debian.org · vendor advisory
- https://security.netapp.com/advisory/ntap-20211224-0001/ security.netapp.com
- https://www.tenable.com/security/tns-2022-01 tenable.com
- https://www.tenable.com/security/tns-2022-03 tenable.com
- FEDORA-2022-b4103753e9 lists.fedoraproject.org · vendor advisory
- FEDORA-2022-21264ec6db lists.fedoraproject.org · vendor advisory
- FEDORA-2022-78e3211c55 lists.fedoraproject.org · vendor advisory
- https://support.apple.com/kb/HT213257 support.apple.com
- https://support.apple.com/kb/HT213256 support.apple.com
- https://support.apple.com/kb/HT213255 support.apple.com
- GLSA-202208-20 security.gentoo.org · vendor advisory
Other references
- http://httpd.apache.org/security/vulnerabilities_24.html httpd.apache.org
- [oss-security] 20211220 CVE-2021-44224: Apache HTTP Server: Possible NULL dereference or SSRF in forward proxy… openwall.com · mailing list
- https://www.oracle.com/security-alerts/cpujan2022.html oracle.com
- https://www.oracle.com/security-alerts/cpuapr2022.html oracle.com
- 20220516 APPLE-SA-2022-05-16-4 Security Update 2022-004 Catalina seclists.org · mailing list
- 20220516 APPLE-SA-2022-05-16-3 macOS Big Sur 11.6.6 seclists.org · mailing list
- 20220516 APPLE-SA-2022-05-16-2 macOS Monterey 12.4 seclists.org · mailing list
Source: the record CVE-2021-44224 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse