9.8

CVE-2021-42013: Apache HTTP Server Path Traversal Vulnerability

CVSS: 9.8v3.1CriticalKEVRansomwareAnalyzed
AliasesALPINE-CVE-2021-42013MGASA-2021-0470DEBIAN-CVE-2021-42013
Published 07-10-2021Last modified 21-10-2025

Vulnerability summary

CVE-2021-42013 is a critical (CVSS 9.8) Path Traversal vulnerability in Apache HTTP Server. It is known to be exploited: CISA lists it, first on 03-11-2021. It has been used in ransomware campaigns. EPSS estimates a 99.96% chance of exploitation in the next 30 days, higher than 99.9% of scored vulnerabilities. 11 public exploits are recorded.

Overall risk
90/100
0100
Critical · default modelHow is this calculated?
CVSS score
9.8/10
010
Critical · v3.1 (CVE.org)
EPSS score
99.96%
0%100%
Critical · 0.00 pp in 30 days
KEVListedCISA
RansomwareKnown useFlagged by CISA
Public exploits11reference, exploit-database, metasploit

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 07-10-2021
    PublishedVulnerability first disclosed.
  2. 03-11-2021
    Added to CISA KEVApache HTTP Server Path Traversal Vulnerability
  3. 17-11-2021
    CISA remediation dueApply updates per vendor instructions.
  4. 21-10-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

99.96%

Chance of exploitation in the next 30 days

Percentile

100%

Versus all other CVEs

30-day change

0.00 pp

From 99.96% on 18-09-2026

18-09-202618-10-2026
EPSS score
99.96%

Known exploited

Compare KEV catalogs
CISA KEVListed
Added
03-11-2021
Federal due date
17-11-2021
Ransomware

CISA required action

Apply updates per vendor instructions. nvd.nist.gov/vuln/detail/CVE-2021-42013

Public exploits

11 found
  • referenceUnverified

    Exploit Reference (packetstormsecurity.com)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (packetstormsecurity.com)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (packetstormsecurity.com)

    Maturity: unknown

Show all 11 exploits
  • referenceUnverified

    Exploit Reference (packetstormsecurity.com)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (packetstormsecurity.com)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (povilaika.com)

    Maturity: unknown

  • exploit-databasemultipleVerified

    Apache HTTP Server 2.4.50 - Path Traversal & Remote Code Execution (RCE)

    Maturity: poc

  • exploit-databasemultipleUnverified

    Apache HTTP Server 2.4.50 - Remote Code Execution (RCE) (2)

    Maturity: poc

  • exploit-databasemultipleVerified

    Apache HTTP Server 2.4.50 - Remote Code Execution (RCE) (3)

    Maturity: poc

  • MetasploitMetasploitremoteUnverified

    Apache 2.4.49/2.4.50 Traversal RCE scanner

    auxiliary/scanner/http/apache_normalize_path

    Maturity: poc

  • MetasploitMetasploitremoteVerified

    Apache 2.4.49/2.4.50 Traversal RCE

    exploit/multi/http/apache_normalize_path_rce

    Maturity: weaponized

Weaknesses

CWE · root cause

Affected systems

Oracle3 products
Alpine1 product
  • apache2< 2.4.51-r0
Apache1 product
Apache software foundation1 product
Debian1 product
  • apache2< 2.4.51-1
Fedoraproject1 product
Mageia1 product
  • apache< 2.4.51-1.mga8
Netapp1 product

8 vendors · 10 products

References

37 links
Show all 37 references