Name | CVE-2021-41773 |
Description | A flaw was found in a change made to path normalization in Apache HTTP Server 2.4.49. An attacker could use a path traversal attack to map URLs to files outside the directories configured by Alias-like directives. 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 pathes, this could allow for remote code execution. This issue is known to be exploited in the wild. This issue only affects Apache 2.4.49 and not earlier versions. The fix in Apache HTTP Server 2.4.50 was found to be incomplete, see CVE-2021-42013. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
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 | (not affected) | | | |
apache2 | source | stretch | (not affected) | | | |
apache2 | source | buster | (not affected) | | | |
apache2 | source | bullseye | (not affected) | | | |
apache2 | source | (unstable) | 2.4.50-1 | | | |
Notes
[bullseye] - apache2 <not-affected> (Vulnerable code not present, only affects 2.4.49)
[buster] - apache2 <not-affected> (Vulnerable code not present, only affects 2.4.49)
[stretch] - apache2 <not-affected> (Vulnerable code not present, only affects 2.4.49)
https://httpd.apache.org/security/vulnerabilities_24.html#CVE-2021-41773
Fixed by: https://svn.apache.org/r1893775
https://www.openwall.com/lists/oss-security/2021/10/05/2
https://www.openwall.com/lists/oss-security/2021/10/08/1
[jessie] - apache2 <not-affected> (Vulnerable code not present, only affects 2.4.49)