Improper Encoding or Escaping of Output Affecting httpd:2.4/mod_session package, versions <0:2.4.37-47.module+el8.6.0+22124+21ed7001.9


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.04% (11th 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-7568043
  • published25 Jul 2024
  • disclosed1 Jul 2024

Introduced: 1 Jul 2024

CVE-2024-38475  (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-47.module+el8.6.0+22124+21ed7001.9 or higher.
This issue was patched in RHSA-2024:4827.

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.

Improper escaping of output in mod_rewrite in Apache HTTP Server 2.4.59 and earlier allows an attacker to map URLs to filesystem locations that are permitted to be served by the server but are not intentionally/directly reachable by any URL, resulting in code execution or source code disclosure.

Substitutions in server context that use a backreferences or variables as the first segment of the substitution are affected.  Some unsafe RewiteRules will be broken by this change and the rewrite flag "UnsafePrefixStat" can be used to opt back in once ensuring the substitution is appropriately constrained.

CVSS Scores

version 3.1