Name | CVE-2021-40438 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-2776-1, DSA-4982-1, ELA-491-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
apache2 (PTS) | jessie, jessie (lts) | 2.4.10-10+deb8u29 | fixed |
stretch (security) | 2.4.25-3+deb9u13 | fixed | |
stretch (lts), stretch | 2.4.25-3+deb9u19 | fixed | |
buster, buster (lts) | 2.4.59-1~deb10u4 | fixed | |
buster (security) | 2.4.59-1~deb10u1 | fixed | |
bullseye | 2.4.62-1~deb11u1 | fixed | |
bullseye (security) | 2.4.62-1~deb11u2 | fixed | |
bookworm (security), bookworm | 2.4.62-1~deb12u2 | fixed | |
sid, trixie | 2.4.62-3 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
apache2 | source | jessie | 2.4.10-10+deb8u19 | ELA-491-1 | ||
apache2 | source | stretch | 2.4.25-3+deb9u11 | DLA-2776-1 | ||
apache2 | source | buster | 2.4.38-3+deb10u6 | DSA-4982-1 | ||
apache2 | source | bullseye | 2.4.51-1~deb11u1 | DSA-4982-1 | ||
apache2 | source | (unstable) | 2.4.49-1 |
https://httpd.apache.org/security/vulnerabilities_24.html#CVE-2021-40438
Minimal fix: https://github.com/apache/httpd/commit/496c863776c68bd08cdbeb7d8fa5935ba63b76c2 (2.4.x)
Future-proof follow-up: https://github.com/apache/httpd/commit/d4901cb32133bc0e59ad193a29d1665597080d67 (2.4.x)
Regression fix #1: https://github.com/apache/httpd/commit/6e768a811c59ca6a0769b72681aaef381823339f (2.4.x)
Regression fix #2: https://github.com/apache/httpd/commit/81a8b0133b46c4cf7dfc4b5476ad46eb34aa0a5c (2.4.x)