Improper Encoding or Escaping of Output Affecting httpd-devel package, versions <0:2.4.61-1.amzn2.0.1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
3.59% (92nd 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 IDSNYK-AMZN2-HTTPDDEVEL-7548013
  • published23 Jul 2024
  • disclosed1 Jul 2024

Introduced: 1 Jul 2024

CVE-2024-38474  (opens in a new tab)
CWE-116  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 httpd-devel to version 0:2.4.61-1.amzn2.0.1 or higher.
This issue was patched in ALAS2-2024-2594.

NVD Description

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

Substitution encoding issue in mod_rewrite in Apache HTTP Server 2.4.59 and earlier allows attacker to execute scripts in directories permitted by the configuration but not directly reachable by any URL or source disclosure of scripts meant to only to be executed as CGI.

Users are recommended to upgrade to version 2.4.60, which fixes this issue.

Some RewriteRules that capture and substitute unsafely will now fail unless rewrite flag "UnsafeAllow3F" is specified.

CVSS Scores

version 3.1