Apache2: Substitution encoding issue
Affects apache2Source GCVE Database
Not known to be exploited · CVSS 9.8 Critical · fixed in 2.4.7-1ubuntu4.22+esm10 : patch apache2 as a priority.
Data as of 24 Nov 2026, 19:27 UTC
- Patch
- Available – fixed in 2.4.7-1ubuntu4.22+esm10, 2.4.18-2ubuntu3.17+esm14, 2.4.29-1ubuntu4.27+esm4 +3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 1 Jul 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSapache2pkg:deb/ubuntu/apache2?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSapache2pkg:deb/ubuntu/apache2?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu 20.04 LTSapache2pkg:deb/ubuntu/apache2?arch=source&distro=focalOther threats | Affected
| Fixed in
|
Ubuntu Pro 18.04 LTSapache2pkg:deb/ubuntu/apache2?arch=source&distro=esm-infra/bionicOther threats | Affected
| Fixed in
|
Ubuntu Pro 16.04 LTSapache2pkg:deb/ubuntu/apache2?arch=source&distro=esm-infra/xenialOther threats | Affected
| Fixed in
|
Ubuntu Pro 14.04 LTSapache2pkg:deb/ubuntu/apache2?arch=source&distro=esm-infra-legacy/trustyOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2024-38474 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-38474 (opens in a new tab)
- httpd.apache.org/security/vulnerabilities_24.html (opens in a new tab)
- httpd.apache.org/security/vulnerabilities_24.html (opens in a new tab)
- ubuntu.com/security/notices/USN-6885-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6885-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-6885-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-6885-5 (opens in a new tab)
- ubuntu.com/security/notices/USN-6885-6 (opens in a new tab)