Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2021-42013

httpd: path traversal and remote code execution (incomplete fix of CVE-2021-41773)

Overview

Published
7 Oct 2021
Modified
17 Jun 2026
Critical CVE
1 Registry packages
6 OS packages
6 Linux distributions
Yes Fix available

Description

It was found that the fix for CVE-2021-41773 in Apache HTTP Server 2.4.50 was insufficient. 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 only affects Apache 2.4.49 and Apache 2.4.50 and not earlier versions.

Source: OX vulnerability database

Severity

9.8 · CRITICAL

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weakness: CWE-22

Affected packages · 1

Packages affected by CVE-2021-42013
EcosystemPackageVulnerableFixed in
Bitnami apache >=2.4.49, <2.4.50>=2.4.50, <2.4.51 2.4.502.4.51

Open a package to see all its vulnerabilities.

Operating systems · 12 fixes

Photon OS 1 release · 1 package

fixed 1
httpd
Photon OS fixes for CVE-2021-42013
ReleasePackageFixed in
4.0 httpd +3 2.4.51-1.ph4

alpine 4 releases · 1 package

fixed 4
apache2
alpine fixes for CVE-2021-42013
ReleasePackageFixed in
3.22 apache2 2.4.51-r0
3.23 apache2 2.4.51-r0
3.24 apache2 2.4.51-r0
edge apache2 2.4.51-r0

debian 3 releases · 1 package

fixed 3
apache2
debian fixes for CVE-2021-42013
ReleasePackageFixed in
12 apache2 2.4.51-1
13 apache2 2.4.51-1
14 apache2 2.4.51-1

echo 1 release · 1 package

fixed 1
apache2
echo fixes for CVE-2021-42013
ReleasePackageFixed in
apache2 2.4.51-1

openSUSE 1 release · 1 package

fixed 1
apache2
openSUSE fixes for CVE-2021-42013
ReleasePackageFixed inAdvisory
Tumbleweed apache2 2.4.51-1.1 openSUSE-SU-2024:11560-1

root.io debian 2 releases · 1 package

fixed 2
rootio-apache2
root.io debian fixes for CVE-2021-42013
ReleasePackageFixed in
12 rootio-apache2 2.4.51-1
13 rootio-apache2 2.4.51-1

References

Show all 35 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.