CVE-2024-11942: Drupal/core Drupal Core Vulnerable To Improper Vulnerability
MODERATECVE-2024-11942 is a MODERATE (CVSS 5.9) drupal core vulnerable to improper vulnerability (CWE-390: Detection of Error Condition Without Action) affecting Drupal/core libraries in the Packagist ecosystem. The issue involves drupal core vulnerable to improper error handling. Remediation is available by upgrading affected packages to version 10.2.10.
CVE-2024-11942 at a Glance
Security Impact
CVSS: 5.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N).
How to Fix CVE-2024-11942
To remediate this vulnerability, upgrade all affected Drupal/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.
Upgrade drupal/core to 10.2.10
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for drupal/core
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-11942, inspect your project dependencies for Drupal/core:
inspect dependencies for drupal/core
Analyze the terminal output to locate any version of Drupal/core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 10.2.10), 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-390: Detection of Error Condition Without Action, where the product detects a specific error, but takes no actions to handle the error. In Drupal/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
CVE-2024-11942 Affected Drupal/core Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
drupal/core
|
Packagist |
≥ 10.0.0
< 10.2.10
|
10.2.10
|
References
Frequently Asked Questions
What is CVE-2024-11942?
Which Drupal/core versions are affected?
What version fixes CVE-2024-11942?
Is drupal/core affected?
What is the CVSS score of CVE-2024-11942?
What CWE is associated with CVE-2024-11942?
How can I check Packagist dependencies for CVE-2024-11942?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-52jr-x6h6-xj6g",
"modified" : "2024-12-05T19:58:23Z",
"published" : "2024-12-05T15:31:02Z",
"aliases" : [ "CVE-2024-11942" ],
"summary" : "Drupal core vulnerable to improper error handling",
"details" : "Under certain uncommon site configurations, a bug in the CKEditor 5 module can cause some image uploads to move the entire webroot to a different location on the file system. This could be exploited by a malicious user to take down a site.\n\nThe issue is mitigated by the fact that several non-default site configurations must exist simultaneously for this to occur.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "drupal/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "10.0.0"
}, {
"fixed" : "10.2.10"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-11942"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/drupal/core"
}, {
"type" : "WEB",
"url" : "https://www.drupal.org/sa-core-2024-002"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-390" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-12-05T19:58:23Z",
"nvd_published_at" : "2024-12-05T15:15:08Z"
}
}