CVE & CISA-KEV Catalog

CVE-2024-38474

CRITICALEPSS 83th pctl
9.8
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
apache2Debian
Fixed in:2.4.61-1~deb11u1CVE-2024-38474
Fixed in:2.4.61-1~deb12u1CVE-2024-38474
Fixed in:2.4.60-1CVE-2024-38474
Fixed in:2.4.60-1CVE-2024-38474
httpdRed Hat / RHEL
Fixed in:0:2.4.6-99.el7_9.2RHSA-2024:4943
Fixed in:0:2.4.6-99.el7_9.2RHSA-2024:4943
Fixed in:0:2.4.6-99.el7_9.2RHSA-2024:4943
Fixed in:0:2.4.6-99.el7_9.2.ppc64RHSA-2024:4943
Fixed in:0:2.4.6-99.el7_9.2RHSA-2024:4943
Fixed in:0:2.4.6-90.el7_7.4RHSA-2024:4938
Fixed in:0:2.4.6-90.el7_7.4RHSA-2024:4938
Fixed in:0:2.4.37-65.module+el8.10.0+22069+b47f5c72.1.ppc64le::httpd:2.4RHSA-2024:4720
httpdRocky
Fixed in:0:2.4.6-99.el7_9.2RHSA-2024:4943
Fixed in:0:2.4.6-99.el7_9.2RHSA-2024:4943
Fixed in:0:2.4.6-99.el7_9.2RHSA-2024:4943
Fixed in:0:2.4.6-99.el7_9.2.ppc64RHSA-2024:4943
Fixed in:0:2.4.6-99.el7_9.2RHSA-2024:4943
Fixed in:0:2.4.6-90.el7_7.4RHSA-2024:4938
Fixed in:0:2.4.6-90.el7_7.4RHSA-2024:4938
Fixed in:0:2.4.37-65.module+el8.10.0+22069+b47f5c72.1.ppc64le::httpd:2.4RHSA-2024:4720
httpd-coreRed Hat / RHEL
Fixed in:0:2.4.53-11.el9_2.8RHSA-2024:4862
Fixed in:0:2.4.57-11.el9_4RHSA-2024:4726
Fixed in:0:2.4.57-11.el9_4RHSA-2024:4726
Fixed in:0:2.4.57-11.el9_4RHSA-2024:4726
Fixed in:0:2.4.57-11.el9_4RHSA-2024:4726
Fixed in:0:2.4.53-11.el9_2.8RHSA-2024:4862
Fixed in:0:2.4.53-11.el9_2.8RHSA-2024:4862
Fixed in:0:2.4.53-11.el9_2.8RHSA-2024:4862
httpd-coreRocky
Fixed in:0:2.4.57-11.el9_4RHSA-2024:4726
Fixed in:0:2.4.57-11.el9_4RHSA-2024:4726
Fixed in:0:2.4.57-11.el9_4RHSA-2024:4726
Fixed in:0:2.4.57-11.el9_4RHSA-2024:4726
Fixed in:0:2.4.53-11.el9_2.8RHSA-2024:4862
Fixed in:0:2.4.53-11.el9_2.8RHSA-2024:4862
Fixed in:0:2.4.53-11.el9_2.8RHSA-2024:4862
Fixed in:0:2.4.53-11.el9_2.8RHSA-2024:4862
httpd-core-debuginfoRed Hat / RHEL
Fixed in:0:2.4.53-11.el9_2.8RHSA-2024:4862
Fixed in:0:2.4.53-11.el9_2.8RHSA-2024:4862
Fixed in:0:2.4.53-11.el9_2.8RHSA-2024:4862
Fixed in:0:2.4.53-11.el9_2.8RHSA-2024:4862
Fixed in:0:2.4.57-11.el9_4RHSA-2024:4726
Fixed in:0:2.4.57-11.el9_4RHSA-2024:4726
Fixed in:0:2.4.57-11.el9_4RHSA-2024:4726
Fixed in:0:2.4.57-11.el9_4RHSA-2024:4726
httpd-core-debuginfoRocky
Fixed in:0:2.4.53-11.el9_2.8RHSA-2024:4862
Fixed in:0:2.4.53-11.el9_2.8RHSA-2024:4862
Fixed in:0:2.4.53-11.el9_2.8RHSA-2024:4862
Fixed in:0:2.4.53-11.el9_2.8RHSA-2024:4862
Fixed in:0:2.4.57-11.el9_4RHSA-2024:4726
Fixed in:0:2.4.57-11.el9_4RHSA-2024:4726
Fixed in:0:2.4.57-11.el9_4RHSA-2024:4726
Fixed in:0:2.4.57-11.el9_4RHSA-2024:4726
httpd-debuginfoRocky
Fixed in:0:2.4.6-99.el7_9.2RHSA-2024:4943
Fixed in:0:2.4.6-90.el7_7.4RHSA-2024:4938
Fixed in:0:2.4.6-99.el7_9.2RHSA-2024:4943
Fixed in:0:2.4.6-99.el7_9.2RHSA-2024:4943
Fixed in:0:2.4.6-99.el7_9.2.ppc64RHSA-2024:4943
Fixed in:0:2.4.37-47.module+el8.6.0+22124+21ed7001.9.ppc64le::httpd:2.4RHSA-2024:4827
Fixed in:0:2.4.37-21.module+el8.2.0+22128+68c62a5c.8.x86_64::httpd:2.4RHSA-2024:4820
Fixed in:0:2.4.37-56.module+el8.8.0+22079+e03f6970.8.aarch64::httpd:2.4RHSA-2024:4719
httpd-debuginfoRed Hat / RHEL
Fixed in:0:2.4.6-90.el7_7.4RHSA-2024:4938
Fixed in:0:2.4.6-99.el7_9.2RHSA-2024:4943
Fixed in:0:2.4.6-99.el7_9.2RHSA-2024:4943
Fixed in:0:2.4.6-99.el7_9.2.ppc64RHSA-2024:4943
Fixed in:0:2.4.6-99.el7_9.2RHSA-2024:4943
Fixed in:0:2.4.37-47.module+el8.6.0+22124+21ed7001.9.x86_64::httpd:2.4RHSA-2024:4827
Fixed in:0:2.4.37-65.module+el8.10.0+22069+b47f5c72.1.ppc64le::httpd:2.4RHSA-2024:4720
Fixed in:0:2.4.37-47.module+el8.6.0+22124+21ed7001.9.aarch64::httpd:2.4RHSA-2024:4827
httpd-debugsourceRed Hat / RHEL
Fixed in:0:2.4.37-47.module+el8.6.0+22124+21ed7001.9.ppc64le::httpd:2.4RHSA-2024:4827
Fixed in:0:2.4.37-56.module+el8.8.0+22079+e03f6970.8.ppc64le::httpd:2.4RHSA-2024:4719
Fixed in:0:2.4.37-56.module+el8.8.0+22079+e03f6970.8.aarch64::httpd:2.4RHSA-2024:4719
Fixed in:0:2.4.37-39.module+el8.4.0+22127+467cc488.8.ppc64le::httpd:2.4RHSA-2024:4830
Fixed in:0:2.4.37-56.module+el8.8.0+22079+e03f6970.8.s390x::httpd:2.4RHSA-2024:4719
Fixed in:0:2.4.37-39.module+el8.4.0+22127+467cc488.8.x86_64::httpd:2.4RHSA-2024:4830
Fixed in:0:2.4.37-56.module+el8.8.0+22079+e03f6970.8.x86_64::httpd:2.4RHSA-2024:4719
Fixed in:0:2.4.37-65.module+el8.10.0+22069+b47f5c72.1.aarch64::httpd:2.4RHSA-2024:4720
httpd-debugsourceRocky
Fixed in:0:2.4.37-65.module+el8.10.0+22069+b47f5c72.1.s390x::httpd:2.4RHSA-2024:4720
Fixed in:0:2.4.37-39.module+el8.4.0+22127+467cc488.8.x86_64::httpd:2.4RHSA-2024:4830
Fixed in:0:2.4.37-39.module+el8.4.0+22127+467cc488.8.ppc64le::httpd:2.4RHSA-2024:4830
Fixed in:0:2.4.37-21.module+el8.2.0+22128+68c62a5c.8.x86_64::httpd:2.4RHSA-2024:4820
Fixed in:0:2.4.37-47.module+el8.6.0+22124+21ed7001.9.s390x::httpd:2.4RHSA-2024:4827
Fixed in:0:2.4.37-47.module+el8.6.0+22124+21ed7001.9.ppc64le::httpd:2.4RHSA-2024:4827
Fixed in:0:2.4.37-56.module+el8.8.0+22079+e03f6970.8.aarch64::httpd:2.4RHSA-2024:4719
Fixed in:0:2.4.37-47.module+el8.6.0+22124+21ed7001.9.aarch64::httpd:2.4RHSA-2024:4827
httpd-develRed Hat / RHEL
Fixed in:0:2.4.6-99.el7_9.2RHSA-2024:4943
Fixed in:0:2.4.6-99.el7_9.2RHSA-2024:4943
Fixed in:0:2.4.6-99.el7_9.2RHSA-2024:4943
Fixed in:0:2.4.6-99.el7_9.2.ppc64RHSA-2024:4943
Fixed in:0:2.4.6-90.el7_7.4RHSA-2024:4938
Fixed in:0:2.4.37-47.module+el8.6.0+22124+21ed7001.9.aarch64::httpd:2.4RHSA-2024:4827
Fixed in:0:2.4.37-21.module+el8.2.0+22128+68c62a5c.8.x86_64::httpd:2.4RHSA-2024:4820
Fixed in:0:2.4.37-47.module+el8.6.0+22124+21ed7001.9.s390x::httpd:2.4RHSA-2024:4827
httpd-develRocky
Fixed in:0:2.4.6-99.el7_9.2RHSA-2024:4943
Fixed in:0:2.4.6-99.el7_9.2RHSA-2024:4943
Fixed in:0:2.4.6-99.el7_9.2.ppc64RHSA-2024:4943
Fixed in:0:2.4.6-90.el7_7.4RHSA-2024:4938
Fixed in:0:2.4.6-99.el7_9.2RHSA-2024:4943
Fixed in:0:2.4.37-39.module+el8.4.0+22127+467cc488.8.x86_64::httpd:2.4RHSA-2024:4830
Fixed in:0:2.4.37-56.module+el8.8.0+22079+e03f6970.8.s390x::httpd:2.4RHSA-2024:4719
Fixed in:0:2.4.37-65.module+el8.10.0+22069+b47f5c72.1.x86_64::httpd:2.4RHSA-2024:4720
httpd-filesystemRocky
Fixed in:0:2.4.37-21.module+el8.2.0+22128+68c62a5c.8.noarch::httpd:2.4RHSA-2024:4820
Fixed in:0:2.4.37-47.module+el8.6.0+22124+21ed7001.9.noarch::httpd:2.4RHSA-2024:4827
Fixed in:0:2.4.37-56.module+el8.8.0+22079+e03f6970.8.noarch::httpd:2.4RHSA-2024:4719
Fixed in:0:2.4.37-65.module+el8.10.0+22069+b47f5c72.1.noarch::httpd:2.4RHSA-2024:4720
Fixed in:0:2.4.37-39.module+el8.4.0+22127+467cc488.8.noarch::httpd:2.4RHSA-2024:4830
Fixed in:0:2.4.53-11.el9_2.8RHSA-2024:4862
Fixed in:0:2.4.57-11.el9_4RHSA-2024:4726
Fixed in:0:2.4.51-7.el9_0.7RHSA-2024:4863
httpd-filesystemRed Hat / RHEL
Fixed in:0:2.4.37-47.module+el8.6.0+22124+21ed7001.9.noarch::httpd:2.4RHSA-2024:4827
Fixed in:0:2.4.37-56.module+el8.8.0+22079+e03f6970.8.noarch::httpd:2.4RHSA-2024:4719
Fixed in:0:2.4.37-65.module+el8.10.0+22069+b47f5c72.1.noarch::httpd:2.4RHSA-2024:4720
Fixed in:0:2.4.37-21.module+el8.2.0+22128+68c62a5c.8.noarch::httpd:2.4RHSA-2024:4820
Fixed in:0:2.4.37-39.module+el8.4.0+22127+467cc488.8.noarch::httpd:2.4RHSA-2024:4830
Fixed in:0:2.4.57-11.el9_4RHSA-2024:4726
Fixed in:0:2.4.51-7.el9_0.7RHSA-2024:4863
Fixed in:0:2.4.53-11.el9_2.8RHSA-2024:4862
httpd-manualRed Hat / RHEL
Fixed in:0:2.4.6-90.el7_7.4RHSA-2024:4938
Fixed in:0:2.4.6-99.el7_9.2RHSA-2024:4943
Fixed in:0:2.4.37-47.module+el8.6.0+22124+21ed7001.9.noarch::httpd:2.4RHSA-2024:4827
Fixed in:0:2.4.37-56.module+el8.8.0+22079+e03f6970.8.noarch::httpd:2.4RHSA-2024:4719
Fixed in:0:2.4.37-65.module+el8.10.0+22069+b47f5c72.1.noarch::httpd:2.4RHSA-2024:4720
Fixed in:0:2.4.37-39.module+el8.4.0+22127+467cc488.8.noarch::httpd:2.4RHSA-2024:4830
Fixed in:0:2.4.37-21.module+el8.2.0+22128+68c62a5c.8.noarch::httpd:2.4RHSA-2024:4820
Fixed in:0:2.4.53-11.el9_2.8RHSA-2024:4862
httpd-manualRocky
Fixed in:0:2.4.6-99.el7_9.2RHSA-2024:4943
Fixed in:0:2.4.6-90.el7_7.4RHSA-2024:4938
Fixed in:0:2.4.37-39.module+el8.4.0+22127+467cc488.8.noarch::httpd:2.4RHSA-2024:4830
Fixed in:0:2.4.37-65.module+el8.10.0+22069+b47f5c72.1.noarch::httpd:2.4RHSA-2024:4720
Fixed in:0:2.4.37-21.module+el8.2.0+22128+68c62a5c.8.noarch::httpd:2.4RHSA-2024:4820
Fixed in:0:2.4.37-56.module+el8.8.0+22079+e03f6970.8.noarch::httpd:2.4RHSA-2024:4719
Fixed in:0:2.4.37-47.module+el8.6.0+22124+21ed7001.9.noarch::httpd:2.4RHSA-2024:4827
Fixed in:0:2.4.51-7.el9_0.7RHSA-2024:4863
httpd-toolsRed Hat / RHEL
Fixed in:0:2.4.6-99.el7_9.2RHSA-2024:4943
Fixed in:0:2.4.6-99.el7_9.2RHSA-2024:4943
Fixed in:0:2.4.6-99.el7_9.2.ppc64RHSA-2024:4943
Fixed in:0:2.4.6-99.el7_9.2RHSA-2024:4943
Fixed in:0:2.4.6-90.el7_7.4RHSA-2024:4938
Fixed in:0:2.4.37-47.module+el8.6.0+22124+21ed7001.9.s390x::httpd:2.4RHSA-2024:4827
Fixed in:0:2.4.37-47.module+el8.6.0+22124+21ed7001.9.ppc64le::httpd:2.4RHSA-2024:4827
Fixed in:0:2.4.37-65.module+el8.10.0+22069+b47f5c72.1.x86_64::httpd:2.4RHSA-2024:4720
httpd-toolsRocky
Fixed in:0:2.4.6-99.el7_9.2RHSA-2024:4943
Fixed in:0:2.4.6-90.el7_7.4RHSA-2024:4938
Fixed in:0:2.4.6-99.el7_9.2.ppc64RHSA-2024:4943
Fixed in:0:2.4.6-99.el7_9.2RHSA-2024:4943
Fixed in:0:2.4.6-99.el7_9.2RHSA-2024:4943
Fixed in:0:2.4.37-47.module+el8.6.0+22124+21ed7001.9.ppc64le::httpd:2.4RHSA-2024:4827
Fixed in:0:2.4.37-47.module+el8.6.0+22124+21ed7001.9.aarch64::httpd:2.4RHSA-2024:4827
Fixed in:0:2.4.37-56.module+el8.8.0+22079+e03f6970.8.x86_64::httpd:2.4RHSA-2024:4719
httpd-tools-debuginfoRed Hat / RHEL
Fixed in:0:2.4.37-56.module+el8.8.0+22079+e03f6970.8.aarch64::httpd:2.4RHSA-2024:4719
Fixed in:0:2.4.37-21.module+el8.2.0+22128+68c62a5c.8.x86_64::httpd:2.4RHSA-2024:4820
Fixed in:0:2.4.37-56.module+el8.8.0+22079+e03f6970.8.ppc64le::httpd:2.4RHSA-2024:4719
Fixed in:0:2.4.37-39.module+el8.4.0+22127+467cc488.8.ppc64le::httpd:2.4RHSA-2024:4830
Fixed in:0:2.4.37-47.module+el8.6.0+22124+21ed7001.9.x86_64::httpd:2.4RHSA-2024:4827
Fixed in:0:2.4.37-56.module+el8.8.0+22079+e03f6970.8.s390x::httpd:2.4RHSA-2024:4719
Fixed in:0:2.4.37-39.module+el8.4.0+22127+467cc488.8.x86_64::httpd:2.4RHSA-2024:4830
Fixed in:0:2.4.37-47.module+el8.6.0+22124+21ed7001.9.aarch64::httpd:2.4RHSA-2024:4827
httpd-tools-debuginfoRocky
Fixed in:0:2.4.37-65.module+el8.10.0+22069+b47f5c72.1.s390x::httpd:2.4RHSA-2024:4720
Fixed in:0:2.4.37-47.module+el8.6.0+22124+21ed7001.9.aarch64::httpd:2.4RHSA-2024:4827
Fixed in:0:2.4.37-65.module+el8.10.0+22069+b47f5c72.1.x86_64::httpd:2.4RHSA-2024:4720
Fixed in:0:2.4.37-39.module+el8.4.0+22127+467cc488.8.x86_64::httpd:2.4RHSA-2024:4830
Fixed in:0:2.4.37-65.module+el8.10.0+22069+b47f5c72.1.ppc64le::httpd:2.4RHSA-2024:4720
Fixed in:0:2.4.37-39.module+el8.4.0+22127+467cc488.8.ppc64le::httpd:2.4RHSA-2024:4830
Fixed in:0:2.4.37-21.module+el8.2.0+22128+68c62a5c.8.x86_64::httpd:2.4RHSA-2024:4820
Fixed in:0:2.4.37-65.module+el8.10.0+22069+b47f5c72.1.aarch64::httpd:2.4RHSA-2024:4720
jbcs-httpd24-httpdRocky
Fixed in:0:2.4.57-13.el7jbcsRHSA-2024:5239
Fixed in:0:2.4.57-13.el7jbcsRHSA-2024:5239
Fixed in:0:2.4.57-13.el8jbcsRHSA-2024:5239
Fixed in:0:2.4.57-13.el8jbcsRHSA-2024:5239
jbcs-httpd24-httpdRed Hat / RHEL
Fixed in:0:2.4.57-13.el7jbcsRHSA-2024:5239
Fixed in:0:2.4.57-13.el7jbcsRHSA-2024:5239
Fixed in:0:2.4.57-13.el8jbcsRHSA-2024:5239
Fixed in:0:2.4.57-13.el8jbcsRHSA-2024:5239
jbcs-httpd24-httpd-debuginfoRocky
Fixed in:0:2.4.57-13.el7jbcsRHSA-2024:5239
Fixed in:0:2.4.57-13.el8jbcsRHSA-2024:5239
jbcs-httpd24-httpd-debuginfoRed Hat / RHEL
Fixed in:0:2.4.57-13.el7jbcsRHSA-2024:5239
Fixed in:0:2.4.57-13.el8jbcsRHSA-2024:5239
jbcs-httpd24-httpd-develRed Hat / RHEL
Fixed in:0:2.4.57-13.el7jbcsRHSA-2024:5239
Fixed in:0:2.4.57-13.el8jbcsRHSA-2024:5239
jbcs-httpd24-httpd-develRocky
Fixed in:0:2.4.57-13.el7jbcsRHSA-2024:5239
Fixed in:0:2.4.57-13.el8jbcsRHSA-2024:5239
jbcs-httpd24-httpd-manualRed Hat / RHEL
Fixed in:0:2.4.57-13.el7jbcsRHSA-2024:5239
Fixed in:0:2.4.57-13.el8jbcsRHSA-2024:5239
jbcs-httpd24-httpd-manualRocky
Fixed in:0:2.4.57-13.el7jbcsRHSA-2024:5239
Fixed in:0:2.4.57-13.el8jbcsRHSA-2024:5239
jbcs-httpd24-httpd-selinuxRocky
Fixed in:0:2.4.57-13.el7jbcsRHSA-2024:5239
Fixed in:0:2.4.57-13.el8jbcsRHSA-2024:5239

This vulnerability affects an unusually large number of packages. The highest-confidence fixes are shown above; the full list is longer. Check the referenced advisories for complete coverage.

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploit Intelligence

2.46%probability of exploitation in 30 days
83rdpercentile

Elevated risk: more likely to be exploited than 83% of all known CVEs.

References

Vendor Advisory1
Third-Party Advisory1
Other references1

Related Vulnerabilities

Other CWE-116 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-38475Critical9.1100%KEVFix
CVE-2022-36446Critical9.896%-Fix
CVE-2021-31806Medium6.596%-Fix
CVE-2022-30781High7.589%-Fix
CVE-2022-36099Critical9.976%-Fix
CVE-2022-36100Critical9.974%-Fix

Common questions

How do I fix CVE-2024-38474?

Published advisories record a fix for 109 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2024-38474 being actively exploited?

Not that we know of. CVE-2024-38474 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 2.5% is the estimated probability that it will be exploited in the next 30 days. That is higher than 83% of all scored CVEs.

How severe is CVE-2024-38474?

CVE-2024-38474 has a CVSS v3 base score of 9.8, rated critical. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2024-38474 affect?

Published advisories record a fix for apache2 (Debian), httpd (Red Hat / RHEL), httpd (Rocky), httpd-core (Red Hat / RHEL), and 105 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2024-38474
CVE-2024-38474 severity badge

Markdown

[![CVE-2024-38474](https://tridentstack.com/cve/badge/CVE-2024-38474.svg)](https://tridentstack.com/cve/CVE-2024-38474)

HTML

<a href="https://tridentstack.com/cve/CVE-2024-38474"><img src="https://tridentstack.com/cve/badge/CVE-2024-38474.svg" alt="CVE-2024-38474"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-03-25.