BreachSpiderVerified, not vibes

CVE-2021-42013 in Apache Http Server and 5 more products

Known-exploited (CISA) since 2021-11-03 Critical 9.8 Public exploit reported

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 "requi...

Affects 6 products from 4 vendors. Facts below cite their sources.

CVSS 3.19.8
EPSS100.0%
EPSS percentile100th
FixSee advisory

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Apache Http Server 2.4.49 2.4.50
Fedoraproject Fedora 34 35
Netapp Cloud Backup No version listed by the source
Oracle Secure Backup < 18.1.0.1.0
Oracle Jd Edwards Enterpriseone Tools < 9.2.6.0
Oracle Instantis Enterprisetrack 17.1 17.2 17.3

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedYes added 2021-11-03
Public exploitReported · reference

Official 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: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2021-42013
BreachSpider IDBS-2021-GLOBAL-300507-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2021-10-07
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-22: Path Traversal

Attacker manipulates file path inputs to access files outside the intended directory.

Related attack patterns (CAPEC)

CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic via CWE-22

CAPEC-76 Manipulating Web Input to File System Calls via CWE-22

CAPEC-78 Using Escaped Slashes in Alternate Encoding via CWE-22

CAPEC-79 Using Slashes in Alternate Encoding via CWE-22

CAPEC-126 Path Traversal via CWE-22

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2021-42013 is a critical vulnerability affecting Apache HTTP Server 2.4.49 and 2.4.50, where an insufficient fix for CVE-2021-41773 allows path traversal attacks, potentially leading to remote code execution if CGI scripts are enabled. The vulnerability has a CVSS score of 9.8 and is listed in the KEV catalog with public PoCs and exploits available.

An attacker can exploit this vulnerability by crafting a URL that maps to files outside the directories configured by Alias-like directives. If these files are not protected by the default configuration 'require all denied', the attacker can access them. If CGI scripts are enabled for these paths, the attacker can execute arbitrary code on the server.

Compensating controls AI-drafted, review before use

Implement strict directory traversal restrictions and ensure that all files outside of the web root are protected by the 'require all denied' directive. Disable CGI script execution for aliased paths.

NERC CIP: CIP-007 CIP-007-R2

IEC 62443: SR 7.6

Not validated for your network. A compensating control does not replace the vendor fix.

Questions

What is CVE-2021-42013?

CVE-2021-42013 is a critical vulnerability affecting Apache HTTP Server 2.4.49 and 2.4.50, where an insufficient fix for CVE-2021-41773 allows path traversal attacks, potentially leading to remote code execution if CGI scripts are enabled. The vulnerability has a CVSS score of 9.8 and is listed in the KEV catalog with public PoCs and exploits available.

What is the CVSS score for CVE-2021-42013?

CVE-2021-42013 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 100.0%.

Is CVE-2021-42013 actively exploited?

Yes. CVE-2021-42013 is in the CISA known-exploited catalog (added 2021-11-03). Active exploitation confirmed. Immediate patching required.

How do I remediate CVE-2021-42013?

Priority: IMMEDIATE. Advisory: https://httpd.apache.org/security/vulnerabilities_24.html PSIRT: [email protected]

What systems are affected by CVE-2021-42013?

CVE-2021-42013 affects Apache Http Server; Fedoraproject Fedora; Netapp Cloud Backup; Oracle Secure Backup, Jd Edwards Enterpriseone Tools, Instantis Enterprisetrack.

What NERC-CIP standard applies to CVE-2021-42013?

NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 because it allows unauthorized access to system resources, which can compromise the integrity and availability of the control system.

What IEC 62443 requirement maps to CVE-2021-42013?

IEC 62443 SR 7.6: This CVE maps to SR 7.6 because it involves a vulnerability that can be exploited to gain unauthorized access to system resources, which is a critical security concern in ICS environments.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Apache","product":"Http Server","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.