Directory Traversal Affecting httpd24-debuginfo package, versions <0:2.4.51-1.94.amzn1


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

Exploit Maturity
Mature
EPSS
97.02% (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-AMZN201803-HTTPD24DEBUGINFO-1734930
  • published16 Oct 2021
  • disclosed7 Oct 2021

Introduced: 7 Oct 2021

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

How to fix?

Upgrade Amazon-Linux:2018.03 httpd24-debuginfo to version 0:2.4.51-1.94.amzn1 or higher.
This issue was patched in ALAS-2021-1543.

NVD Description

Note: Versions mentioned in the description apply only to the upstream httpd24-debuginfo package and not the httpd24-debuginfo package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

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.

References

CVSS Scores

version 3.1