Improper Encoding or Escaping of Output Affecting httpd:2.4/mod_session package, versions <0:2.4.37-21.module+el8.2.0+22128+68c62a5c.8


Severity

Recommended
high

Based on Red Hat Enterprise 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-RHEL8-HTTPD-7567614
  • published25 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 RHEL:8 httpd:2.4/mod_session to version 0:2.4.37-21.module+el8.2.0+22128+68c62a5c.8 or higher.
This issue was patched in RHSA-2024:4820.

NVD Description

Note: Versions mentioned in the description apply only to the upstream httpd:2.4/mod_session package and not the httpd:2.4/mod_session package as distributed by RHEL. See How to fix? for RHEL:8 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