Skip to main content
CVE-2024-38474VulnerabilityPublished Updated

Apache2: Substitution encoding issue

Affects apache2Source GCVE Database

0
Compare

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

CVSS 3.1 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 Jul 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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.

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTSapache2pkg:deb/ubuntu/apache2?arch=source&distro=nobleOther threatsAffected
  • <2.4.58-1ubuntu8.8
Fixed in
  • 2.4.58-1ubuntu8.8
Ubuntu 22.04 LTSapache2pkg:deb/ubuntu/apache2?arch=source&distro=jammyOther threatsAffected
  • <2.4.52-1ubuntu4.16
Fixed in
  • 2.4.52-1ubuntu4.16
Ubuntu 20.04 LTSapache2pkg:deb/ubuntu/apache2?arch=source&distro=focalOther threatsAffected
  • <2.4.41-4ubuntu3.23
Fixed in
  • 2.4.41-4ubuntu3.23
Ubuntu Pro 18.04 LTSapache2pkg:deb/ubuntu/apache2?arch=source&distro=esm-infra/bionicOther threatsAffected
  • <2.4.29-1ubuntu4.27+esm4
Fixed in
  • 2.4.29-1ubuntu4.27+esm4
Ubuntu Pro 16.04 LTSapache2pkg:deb/ubuntu/apache2?arch=source&distro=esm-infra/xenialOther threatsAffected
  • <2.4.18-2ubuntu3.17+esm14
Fixed in
  • 2.4.18-2ubuntu3.17+esm14
Ubuntu Pro 14.04 LTSapache2pkg:deb/ubuntu/apache2?arch=source&distro=esm-infra-legacy/trustyOther threatsAffected
  • <2.4.7-1ubuntu4.22+esm10
Fixed in
  • 2.4.7-1ubuntu4.22+esm10

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

Community reviews

Loading reviews…