Skip to main content
CVE Radar
CISA KEVRansomwarecriticalPath Traversalpublic exploit

CVE-2021-42013

CVE-2021-42013 — Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773)

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.

Published Updated Sources: NVD, Apache Software Foundation (CNA), CISA, FIRST EPSS, GitHub, GitHub Security Advisory, Exploit-DB, Red Hat (VEX), SOCRadar CTI

Triage

Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.

Exploitation

Confirmed

CISA KEV, listed Nov 3, 2021

EPSS

100%

top of FIRST's scoreset

Affects

Apache

2 products listed

CVSS base

9.8

critical · 3 sources

CISA SSVC assessment

Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.

CISA

Exploitation

Active

none · proof-of-concept · active

Automatable

Yes

can an attacker script all four kill-chain steps

Technical impact

Total

partial · total control of the vulnerable component

Remediation

The vendor's own words where we have them.

Upgrade Apache HTTP Server to a fixed release. Apply vendor patches per advisory and restrict external exposure of the affected component until patched.

CISA required action

Apply updates per vendor instructions.

Federal deadline Nov 17, 2021 — passed 1,843 days ago

Red Hat VEX · CVE-2021-42013

fixed0affected0not affected59

First 24 hours

Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.

  • Identify exposed assets running affected vendor/product/version combinations.
  • Treat as emergency remediation because CISA KEV status is present.
  • Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.

Affected scope

Vendor, product and version as the advisories word them.

Affected vendors, products and versions
VendorProductVersionsStatus
ApacheApache HTTP ServerApache HTTP Server 2.4.49Vulnerable
ApacheApache HTTP ServerApache HTTP Server 2.4.50Vulnerable

Attack characteristics

The CVSS vector, decoded. It describes the attack, not your exposure to it.

Availability

High

Confidentiality

High

Integrity

High

Scope

Unchanged

Attack Complexity

Low

Attack Vector

Network

Privileges Req

None

User Interaction

None

Every base score collected

Sources score independently and disagree; each row says who scored it and under which version.

Every CVSS base score collected, by source and version
ScoreVersionSeverityExpl.ImpactSource
9.8CVSS 3.1critical3.95.9NVD, CNA, GHSA
7.5CVSS 2.0high106.4NVD
8.1CVSS 3.1highn/an/aRed Hat (VEX)

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

What this weakness leads to

MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.

MITRE

CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

  • Execute Unauthorized Code or Commands
  • Modify Files or Directories
  • Read Files or Directories
  • DoS: Crash, Exit, or Restart

Mitigation: Assume all input is malicious. Use an accept known good input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does. When performing input validation, consider all potentially relevant properties, including length, type of input, the full range of acceptable values, missing or extra inputs, syntax, consistency across related fields, and conformance to business rules. As an example of business rule logic, boat may be syntactically valid because it only contains alphanumeric characters, but it is not valid if the input is only expected to contain colors such as red or blue. Do not rely exclusively on looking for malicious or malformed inputs. This is likely to miss at least one undesirable input, especially if the code's environment changes. This can give attackers enough room to bypass the intended validation. However, denylists can be useful for detecting potential attacks or determining which inputs are so malformed that they should be rejected outright. When validating filenames, use stringent allowlists that limit the character set to be used. If feasible, only allow a single . character in the filename to avoid weaknesses such as CWE-23, and exclude directory separators such as / to avoid CWE-36. Use a list of allowable file extensions, which will help to avoid CWE-434. Do not rely exclusively on a filtering mechanism that removes potentially dangerous characters. This is equivalent to a denylist, which may be incomplete (CWE-184). For example, filtering / is insufficient protection if the filesystem also supports the use of as a directory separator. Another possible error could occur when the filtering is applied in a way that still produces dangerous data (CWE-182). For example, if ../ sequences are removed from the .../...// string in a sequential fashion, two instances of ../ would be removed from the original string, but the remaining characters would still form the ../ string.

Weakness & attack patterns

  • CWE-22Path Traversal

Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.

CAPEC-126 · Path TraversalCAPEC-76 · Manipulating Web Input to File System CallsCAPEC-79 · Using Slashes in Alternate EncodingCAPEC-64 · Using Slashes and URL Encoding Combined to Bypass Validation LogicCAPEC-78 · Using Escaped Slashes in Alternate Encoding

CISA KEV details

CISA lists a CVE here once it has evidence of exploitation against real targets.

Listed

Nov 3, 2021

Federal deadline

Nov 17, 2021

passed 1,843 days ago

Ransomware use

Known

CISA records ransomware use only for campaigns it has confirmed, so “Unknown” means unrecorded, not ruled out. The deadline binds US federal agencies; for everyone else it is a date to argue against.

Public exploit

Capability, not use: code existing is a different claim from anyone running it.

PoC repos

516

2 of the 5 sampled are weaponized

Exploit entries

49

Exploit-DB and CTI exploit indexes

Social mentions

Posts naming this CVE. Attention, not evidence of exploitation — it spikes on disclosure and decays whether or not anything is exploited.

Detection

Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.

  • Prioritize edge telemetry for network-reachable Apache HTTP Server.
  • Monitor for scanner or exploit-pattern traffic after 565 public PoC repositories were reported.
web/proxy/WAF logsapplication logsnetwork IDS/IPS

Groups associated with this CVE

Groups reported in connection with this vulnerability. A reported association, not a confirmed observation of that group using it — and not scoped to any sector or campaign.

KinsingTeamTNT
  • ip103.106.112.1666

    Public Proxy Feed · Oct 21, 2024

  • ip162.142.125.4654

    SANS Wide Scanners Feeds · Jan 21, 2021

  • ip45.148.10.9056

    DShield-Firehol · Aug 26, 2020

  • ip45.148.10.24265

    DShield-Firehol · Mar 6, 2022

  • ip138.68.90.15126

    AbuseIPDB Hourly Update · Nov 2, 2026

SOCRadar5 more indicators on this CVEShowing 5 of 10 · Hashes, addresses and domains from a live threat exchangeUnlock free

Timeline

What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.

  1. 2026
  2. Cve is exploited lmcewen9/cve-2021-42013

    Oct 10, 2026 · SOCRadar CTI

  3. Added · CVSS 3.1 9.8 (AV:N)

    Jun 17, 2026 · NVD

  4. 2022
  5. Added · GHSA-m24x-wx9p-jqmh published (critical)

    May 24, 2022 · GitHub Security Advisory

  6. 2021
  7. Added · Verified webapps entry: Apache HTTP Server 2.4.50 - Directory Traversal / Remote Code Execution (RCE) (3)

    Nov 11, 2021 · Exploit-DB

  8. Added to CISA KEV catalog

    Nov 3, 2021 · CISA

  9. Added · webapps entry: Apache HTTP Server 2.4.50 - Directory Traversal / Remote Code Execution (RCE) (2)

    Oct 25, 2021 · Exploit-DB

  10. Added · Verified webapps entry: Apache HTTP Server 2.4.50 - Path Traversal / Remote Code Execution (RCE)

    Oct 13, 2021 · Exploit-DB

  11. Initial · CVE published

    Oct 7, 2021 · NVD

  12. reported

    Oct 6, 2021 · Apache Software Foundation

Source activity

Readings a source repeats on a schedule, counted rather than listed.

  • 13×SVRS was changedDec 17, 2025 – Oct 10, 2026 · SOCRadar CTI
  • 9×Github ReposJan 24, 2026 – Nov 4, 2026 · SOCRadar CTI
  • 6×Tweets · 1 time tweeted.Mar 11, 2026 – Oct 9, 2026 · SOCRadar CTI
  • 1×CVE appeared in the Cve Trends.Jun 25, 2026 · SOCRadar CTI

References

44 on the record

Coverage

5 stories from the feeds we poll

Related CVEs

Same product first, then the same weakness or threat actor.

Elsewhere on this site

Not in any source we poll

Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.

  • Only the 5 indicator(s) reported for this CVE are available; no packet-level or host-forensic artifacts supplied.
  • No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
  • No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1

What should defenders know first?

CVE-2021-42013 is Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773), a critical vulnerability affecting Apache HTTP Server from Apache Software Foundation. The current evidence lists it in CISA KEV, and the exploit status is: Yes: CISA KEV signal present. Public exploit evidence is: 565 public PoC repositories reported; 2 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 9.8 describes technical severity, while EPSS 100% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.