CVE-2024-22188: Typo3/cms core TYPO3 Install Tool Vulnerable To Vulnerability

HIGH
Advisory Identifier: GHSA-5w2h-59j3-8x5w
CVSS 7.2
CWE-94 CWE-77
Published
Advisory Summary

CVE-2024-22188 is a HIGH (CVSS 7.2) typo3 install tool vulnerable to vulnerability (CWE-94: Improper Control of Generation of Code ('Code Injection')) affecting Typo3/cms core libraries in the Packagist ecosystem. The issue involves typo3 install tool vulnerable to code execution. Remediation is available by upgrading affected packages to version 8.7.57, 9.5.46, 10.4.43, 11.5.35, 12.4.11, 13.0.1.

CVE-2024-22188 at a Glance

CVE Identifier CVE-2024-22188
GHSA Identifier GHSA-5w2h-59j3-8x5w
Severity HIGH
CVSS v3.1 Base Score 7.2
CWE Classification CWE-94: Improper Control of Generation of Code ('Code Injection')
Affected Product Typo3/cms core
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 7.2

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required High (PR:H)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2024-22188

To remediate this vulnerability, upgrade all affected Typo3/cms core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

typo3/cms-core fixed: 8.7.57
Upgrade typo3/cms-core to 8.7.57
typo3/cms-core fixed: 9.5.46
Upgrade typo3/cms-core to 9.5.46
typo3/cms-core fixed: 10.4.43
Upgrade typo3/cms-core to 10.4.43
typo3/cms-core fixed: 11.5.35
Upgrade typo3/cms-core to 11.5.35
typo3/cms-core fixed: 12.4.11
Upgrade typo3/cms-core to 12.4.11
typo3/cms-core fixed: 13.0.1
Upgrade typo3/cms-core to 13.0.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for typo3/cms-core

How to Check if You Are Affected

To determine whether your application is affected by CVE-2024-22188, inspect your project dependencies for Typo3/cms core:

inspect dependencies for typo3/cms-core

Analyze the terminal output to locate any version of Typo3/cms core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 8.7.57), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-94: Improper Control of Generation of Code ('Code Injection'), where the product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. In Typo3/cms core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Problem Several settings in the Install Tool for configuring the path to system binaries were vulnerable to code execution. Exploiting this vulnerability requires an administrator-level backend user account with system maintainer permissions. The corresponding change for this advisory involves enforcing the known disadvantages described in [TYPO3-PSA-2020-002: Protecting Install Tool with Sudo Mode](https://typo3.org/security/advisory/typo3-psa-2020-002). ### Solution Update to TYPO3 versions 8.7.57 ELTS, 9.5.46 ELTS, 10.4.43 ELTS, 11.5.35 LTS, 12.4.11 LTS, 13.0.1 that fix the problem described. ### Credits Thanks to Rickmer Frier & Daniel Jonka who reported this issue and to TYPO3 core & security team member Benjamin Franzke who fixed the issue. ### References * [TYPO3-CORE-SA-2024-002](https://typo3.org/security/advisory/typo3-core-sa-2024-002)

CVE-2024-22188 Affected Typo3/cms core Versions

6 component(s)
Fixed Versions:
8.7.579.5.4610.4.4311.5.3512.4.1113.0.1
Product / Package Ecosystem Affected Versions Fixed Version
typo3/cms-core
Packagist
≥ 8.0.0
< 8.7.57
8.7.57
typo3/cms-core
Packagist
≥ 9.0.0
< 9.5.46
9.5.46
typo3/cms-core
Packagist
≥ 10.0.0
< 10.4.43
10.4.43
typo3/cms-core
Packagist
≥ 11.0.0
< 11.5.35
11.5.35
typo3/cms-core
Packagist
≥ 12.0.0
< 12.4.11
12.4.11
typo3/cms-core
Packagist
≥ 13.0.0
< 13.0.1
All 1 versions
13.0.0
13.0.1

References

Frequently Asked Questions

What is CVE-2024-22188?
CVE-2024-22188 is a security vulnerability in Typo3/cms core involving TYPO3 Install Tool vulnerable to Code Execution under CWE-94: Improper Control of Generation of Code ('Code Injection').
Which Typo3/cms core versions are affected?
Affected versions include releases prior to 8.7.57, 9.5.46, 10.4.43, 11.5.35, 12.4.11, 13.0.1 across affected packages: typo3/cms-core.
What version fixes CVE-2024-22188?
Upgrading to 8.7.57, 9.5.46, 10.4.43, 11.5.35, 12.4.11, 13.0.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is typo3/cms-core affected?
Yes, typo3/cms-core is affected in releases prior to 8.7.57, 9.5.46, 10.4.43, 11.5.35, 12.4.11, 13.0.1. Upgrade your dependency to 8.7.57, 9.5.46, 10.4.43, 11.5.35, 12.4.11, 13.0.1 or later.
What is the CVSS score of CVE-2024-22188?
CVE-2024-22188 has a CVSS v3.1 base score of 7.2 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2024-22188?
CVE-2024-22188 is classified under CWE-94: Improper Control of Generation of Code ('Code Injection') (The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.).
How can I check Packagist dependencies for CVE-2024-22188?
Run the dependency tree command: 'inspect dependencies for typo3/cms-core'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-5w2h-59j3-8x5w",
  "modified" : "2025-09-15T20:06:56Z",
  "published" : "2024-02-13T20:32:27Z",
  "aliases" : [ "CVE-2024-22188" ],
  "summary" : "TYPO3 Install Tool vulnerable to Code Execution",
  "details" : "### Problem\nSeveral settings in the Install Tool for configuring the path to system binaries were vulnerable to code execution. Exploiting this vulnerability requires an administrator-level backend user account with system maintainer permissions.\n\nThe corresponding change for this advisory involves enforcing the known disadvantages described in [TYPO3-PSA-2020-002: Protecting Install Tool with Sudo Mode](https://typo3.org/security/advisory/typo3-psa-2020-002).\n\n### Solution\nUpdate to TYPO3 versions 8.7.57 ELTS, 9.5.46 ELTS, 10.4.43 ELTS, 11.5.35 LTS, 12.4.11 LTS, 13.0.1 that fix the problem described.\n\n### Credits\nThanks to Rickmer Frier & Daniel Jonka who reported this issue and to TYPO3 core & security team member Benjamin Franzke who fixed the issue.\n\n### References\n* [TYPO3-CORE-SA-2024-002](https://typo3.org/security/advisory/typo3-core-sa-2024-002)",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "typo3/cms-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "8.0.0"
      }, {
        "fixed" : "8.7.57"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 8.7.56"
    }
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "typo3/cms-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "9.0.0"
      }, {
        "fixed" : "9.5.46"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 9.5.45"
    }
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "typo3/cms-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "10.0.0"
      }, {
        "fixed" : "10.4.43"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 10.4.42"
    }
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "typo3/cms-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "11.0.0"
      }, {
        "fixed" : "11.5.35"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 11.5.34"
    }
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "typo3/cms-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "12.0.0"
      }, {
        "fixed" : "12.4.11"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 12.4.10"
    }
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "typo3/cms-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "13.0.0"
      }, {
        "fixed" : "13.0.1"
      } ]
    } ],
    "versions" : [ "13.0.0" ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/TYPO3/typo3/security/advisories/GHSA-5w2h-59j3-8x5w"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-22188"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/TYPO3/typo3/commit/47e897f8c7668ef299ecc9ce93f52cafbb3497ed"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/TYPO3/typo3/commit/6cc11761b8e2434fa4ccc9f096c65ca82569cfdf"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/TYPO3/typo3/commit/84e07e35b880a544b517868432c56987d05d46d4"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/TYPO3/typo3"
  }, {
    "type" : "WEB",
    "url" : "https://typo3.org/help/security-advisories"
  }, {
    "type" : "WEB",
    "url" : "https://typo3.org/security/advisory/typo3-core-sa-2024-002"
  }, {
    "type" : "WEB",
    "url" : "https://typo3.org/security/advisory/typo3-psa-2020-002"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-77", "CWE-94" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-02-13T20:32:27Z",
    "nvd_published_at" : "2024-03-05T02:15:27Z"
  }
}