Vulnerabilities / CVE-2021-41773

critical

CVE-2021-41773

httpd: path traversal and file disclosure vulnerability

Published Modified CWE 22
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Bitnami9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, Bitnami, Photon OS. Rated lower by Red Hat (high), Amazon (high), CBL-Mariner (high).

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.

Affected packages and fixed versions

SourcePackageFixed in
bitnami::Bitnami Vulnerability Databaseapache2.4.50
Photon OS 4.0httpd, httpd-devel, httpd-docs and 1 more2.4.51-1.ph4
alpine 3.11apache22.4.50-r0
alpine 3.12apache22.4.50-r0
alpine 3.13apache22.4.50-r0
alpine 3.14apache22.4.50-r0
alpine 3.15apache22.4.50-r0
alpine 3.16apache22.4.50-r0
alpine 3.17apache22.4.50-r0
alpine 3.18apache22.4.50-r0
alpine 3.19apache22.4.50-r0
alpine 3.20apache22.4.50-r0
Show all 48 entries from 26 sources
SourcePackageFixed in
bitnami::Bitnami Vulnerability Databaseapache2.4.50
Photon OS 4.0httpd2.4.51-1.ph4
Photon OS 4.0httpd-devel2.4.51-1.ph4
Photon OS 4.0httpd-docs2.4.51-1.ph4
Photon OS 4.0httpd-tools2.4.51-1.ph4
alpine 3.11apache22.4.50-r0
alpine 3.12apache22.4.50-r0
alpine 3.13apache22.4.50-r0
alpine 3.14apache22.4.50-r0
alpine 3.15apache22.4.50-r0
alpine 3.16apache22.4.50-r0
alpine 3.17apache22.4.50-r0
alpine 3.18apache22.4.50-r0
alpine 3.19apache22.4.50-r0
alpine 3.20apache22.4.50-r0
alpine 3.21apache22.4.50-r0
alpine 3.22apache22.4.50-r0
alpine 3.23apache22.4.50-r0
alpine 3.24apache22.4.50-r0
alpine edgeapache22.4.50-r0
amazon linux 1httpd242.4.51-1.94.amzn1
amazon linux 1httpd24-debuginfo2.4.51-1.94.amzn1
amazon linux 1httpd24-devel2.4.51-1.94.amzn1
amazon linux 1httpd24-manual2.4.51-1.94.amzn1
amazon linux 1httpd24-tools2.4.51-1.94.amzn1
amazon linux 1mod24_ldap2.4.51-1.94.amzn1
amazon linux 1mod24_md2.4.51-1.94.amzn1
amazon linux 1mod24_proxy_html1:2.4.51-1.94.amzn1
amazon linux 1mod24_session2.4.51-1.94.amzn1
amazon linux 1mod24_ssl1:2.4.51-1.94.amzn1
amazon linux 2httpd2.4.51-1.amzn2
amazon linux 2httpd-debuginfo2.4.51-1.amzn2
amazon linux 2httpd-devel2.4.51-1.amzn2
amazon linux 2httpd-filesystem2.4.51-1.amzn2
amazon linux 2httpd-manual2.4.51-1.amzn2
amazon linux 2httpd-tools2.4.51-1.amzn2
amazon linux 2mod_ldap2.4.51-1.amzn2
amazon linux 2mod_md2.4.51-1.amzn2
amazon linux 2mod_proxy_html1:2.4.51-1.amzn2
amazon linux 2mod_session2.4.51-1.amzn2
amazon linux 2mod_ssl1:2.4.51-1.amzn2
CBL-Mariner 1.0httpd0:2.4.51-1.cm1
debian 12apache22.4.50-1
debian 13apache22.4.50-1
debian 14apache22.4.50-1
echoapache22.4.50-1
root.io debian 12rootio-apache22.4.50-1
root.io debian 13rootio-apache22.4.50-1

References

All 34 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.