Bug 2295014 (CVE-2024-38475) - CVE-2024-38475 httpd: Improper escaping of output in mod_rewrite
Summary: CVE-2024-38475 httpd: Improper escaping of output in mod_rewrite
Keywords:
Status: NEW
Alias: CVE-2024-38475
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2295108
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-07-01 19:22 UTC by OSIDB Bzimport
Modified: 2025-06-12 05:34 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gitlab redhat/rhel/tests/httpd/-/tree/master/Security/CVE-2024-38475-httpd-mod_rewrite-prefix-stat 0 None None None 2024-07-19 06:40:14 UTC
Red Hat Product Errata RHBA-2024:4782 0 None None None 2024-07-23 16:28:55 UTC
Red Hat Product Errata RHBA-2024:4789 0 None None None 2024-07-23 21:32:38 UTC
Red Hat Product Errata RHBA-2024:4909 0 None None None 2024-07-30 08:41:06 UTC
Red Hat Product Errata RHBA-2024:4969 0 None None None 2024-08-01 07:54:06 UTC
Red Hat Product Errata RHBA-2024:4984 0 None None None 2024-08-01 21:41:38 UTC
Red Hat Product Errata RHSA-2024:4719 0 None None None 2024-07-23 08:53:26 UTC
Red Hat Product Errata RHSA-2024:4720 0 None None None 2024-07-23 08:49:57 UTC
Red Hat Product Errata RHSA-2024:4726 0 None None None 2024-07-23 13:18:41 UTC
Red Hat Product Errata RHSA-2024:4820 0 None None None 2024-07-24 12:38:35 UTC
Red Hat Product Errata RHSA-2024:4827 0 None None None 2024-07-24 13:10:06 UTC
Red Hat Product Errata RHSA-2024:4830 0 None None None 2024-07-24 13:31:35 UTC
Red Hat Product Errata RHSA-2024:4862 0 None None None 2024-07-25 08:36:52 UTC
Red Hat Product Errata RHSA-2024:4863 0 None None None 2024-07-25 08:31:00 UTC
Red Hat Product Errata RHSA-2024:4938 0 None None None 2024-07-31 10:20:09 UTC
Red Hat Product Errata RHSA-2024:4943 0 None None None 2024-07-31 14:52:59 UTC
Red Hat Product Errata RHSA-2024:5239 0 None None None 2024-08-13 13:08:10 UTC
Red Hat Product Errata RHSA-2024:5240 0 None None None 2024-08-13 13:06:36 UTC

Description OSIDB Bzimport 2024-07-01 19:22:07 UTC
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.

Comment 2 errata-xmlrpc 2024-07-23 08:49:55 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2024:4720 https://access.redhat.com/errata/RHSA-2024:4720

Comment 3 errata-xmlrpc 2024-07-23 08:53:23 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Extended Update Support

Via RHSA-2024:4719 https://access.redhat.com/errata/RHSA-2024:4719

Comment 4 errata-xmlrpc 2024-07-23 13:18:39 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:4726 https://access.redhat.com/errata/RHSA-2024:4726

Comment 5 errata-xmlrpc 2024-07-24 12:38:33 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.2 Advanced Update Support

Via RHSA-2024:4820 https://access.redhat.com/errata/RHSA-2024:4820

Comment 6 errata-xmlrpc 2024-07-24 13:10:04 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.6 Telecommunications Update Service

Via RHSA-2024:4827 https://access.redhat.com/errata/RHSA-2024:4827

Comment 7 errata-xmlrpc 2024-07-24 13:31:33 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.4 Telecommunications Update Service

Via RHSA-2024:4830 https://access.redhat.com/errata/RHSA-2024:4830

Comment 8 errata-xmlrpc 2024-07-25 08:30:58 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions

Via RHSA-2024:4863 https://access.redhat.com/errata/RHSA-2024:4863

Comment 9 errata-xmlrpc 2024-07-25 08:36:50 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Extended Update Support

Via RHSA-2024:4862 https://access.redhat.com/errata/RHSA-2024:4862

Comment 10 errata-xmlrpc 2024-07-31 10:20:07 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7.7 Advanced Update Support

Via RHSA-2024:4938 https://access.redhat.com/errata/RHSA-2024:4938

Comment 11 errata-xmlrpc 2024-07-31 14:52:57 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7 Extended Lifecycle Support

Via RHSA-2024:4943 https://access.redhat.com/errata/RHSA-2024:4943

Comment 12 errata-xmlrpc 2024-08-13 13:06:34 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Core Services

Via RHSA-2024:5240 https://access.redhat.com/errata/RHSA-2024:5240

Comment 13 errata-xmlrpc 2024-08-13 13:08:08 UTC
This issue has been addressed in the following products:

  JBoss Core Services on RHEL 7
  JBoss Core Services for RHEL 8

Via RHSA-2024:5239 https://access.redhat.com/errata/RHSA-2024:5239


Note You need to log in before you can comment on or make changes to this bug.