Directory Traversal Affecting mod24_ssl package, versions <1: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.46% (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-MOD24SSL-1734892
  • published16 Oct 2021
  • disclosed5 Oct 2021

Introduced: 5 Oct 2021

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

How to fix?

Upgrade Amazon-Linux:2018.03 mod24_ssl to version 1: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 mod24_ssl package and not the mod24_ssl package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

A flaw was found in a change made to path normalization in Apache HTTP Server 2.4.49. 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 is known to be exploited in the wild. This issue only affects Apache 2.4.49 and not earlier versions. The fix in Apache HTTP Server 2.4.50 was found to be incomplete, see CVE-2021-42013.

References

CVSS Scores

version 3.1