Directory Traversal Affecting apache/httpd package, versions [,2.4.51)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Mature
EPSS
96.88% (100th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Directory Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-APACHEHTTPD-3007321
  • published12 Jan 2022
  • disclosed7 Oct 2021
  • creditUnknown

Introduced: 7 Oct 2021

CVE-2021-42013  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade apache/httpd to version 2.4.51 or higher.

Overview

Affected versions of this package are vulnerable to Directory Traversal. 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 Scores

version 3.1