CVE-2024-38474
CRITICAL9.8EPSS 1.0%Apache HTTP Server weakness with encoded question marks in backreferences
Published: 7/1/2024Modified: 4/28/2026
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.
Affected packages (3)
- Alpine/apache2from 0, < 2.4.60-r0
- Bitnami/apache>= 2.4.0, < 2.4.60
- Debian/apache2from 0, < 2.4.61-1~deb11u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References (6)
- ADVISORYhttps://security.alpinelinux.org/vuln/CVE-2024-38474
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2024-38474
- WEBhttps://httpd.apache.org/security/vulnerabilities_24.html
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2024-38474
- WEBhttps://security.netapp.com/advisory/ntap-20240712-0001/
- WEBhttp://www.openwall.com/lists/oss-security/2024/07/01/7