CVE-2024-38474
CRITICAL 9.8CVSS 3.1Substitution 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.
- Published
- 1 Jul 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-116
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | http_servercpe:2.3:a:apache:http_server:*:*:*:*:*:*:*:* |
>= 2.4.0, < 2.4.60 | 2.4.60 |
| NVD | netapp | clustered_data_ontapcpe:2.3:o:netapp:clustered_data_ontap:9.0:*:*:*:*:*:*:* |
= 9.0 |
References
- https://httpd.apache.org/security/vulnerabilities_24.html · Vendor Advisory
- https://security.netapp.com/advisory/ntap-20240712-0001/ · Third Party Advisory
- http://www.openwall.com/lists/oss-security/2024/07/01/7
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 1 Jul 2024)