CVE-2024-45440: Drupal/drupal Drupal Full Path Disclosure Vulnerability
MODERATECVE-2024-45440 is a MODERATE (CVSS 5.3) drupal full path disclosure vulnerability (CWE-209: Generation of Error Message Containing Sensitive Information) affecting Drupal/drupal libraries in the Packagist ecosystem. The issue involves drupal full path disclosure. Remediation is available by upgrading affected packages to version 10.3.6, 11.0.5, 10.2.9.
CVE-2024-45440 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2024-45440
To remediate this vulnerability, upgrade all affected Drupal/drupal 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/drupal to 10.3.6
Upgrade drupal/drupal to 11.0.5
Upgrade drupal/core-recommended to 10.3.6
Upgrade drupal/core-recommended to 11.0.5
Upgrade drupal/core to 10.3.6
Upgrade drupal/core to 11.0.5
Upgrade drupal/drupal to 10.2.9
Upgrade drupal/core-recommended to 10.2.9
Upgrade drupal/core to 10.2.9
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for drupal/drupal
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-45440, inspect your project dependencies for Drupal/drupal:
inspect dependencies for drupal/drupal
Analyze the terminal output to locate any version of Drupal/drupal in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 10.3.6), 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-209: Generation of Error Message Containing Sensitive Information, where the product generates an error message that includes sensitive information about its environment, users, or associated data. In Drupal/drupal, 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-45440 Affected Drupal/drupal Versions
9 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
drupal/drupal
|
Packagist |
≥ 10.3.0
< 10.3.6
|
10.3.6
|
|
drupal/drupal
|
Packagist |
≥ 11.0.0
< 11.0.5
|
11.0.5
|
|
drupal/core-recommended
|
Packagist |
≥ 10.3.0
< 10.3.6
|
10.3.6
|
|
drupal/core-recommended
|
Packagist |
≥ 11.0.0
< 11.0.5
|
11.0.5
|
|
drupal/core
|
Packagist |
≥ 10.3.0
< 10.3.6
|
10.3.6
|
|
drupal/core
|
Packagist |
≥ 11.0.0
< 11.0.5
|
11.0.5
|
|
drupal/drupal
|
Packagist |
≥ 8.0.0
< 10.2.9
|
10.2.9
|
|
drupal/core-recommended
|
Packagist |
≥ 8.0.0
< 10.2.9
|
10.2.9
|
|
drupal/core
|
Packagist |
≥ 8.0.0
< 10.2.9
|
10.2.9
|
References
Frequently Asked Questions
What is CVE-2024-45440?
Which Drupal/drupal versions are affected?
What version fixes CVE-2024-45440?
Is drupal/drupal affected?
Is drupal/core-recommended affected?
What is the CVSS score of CVE-2024-45440?
What CWE is associated with CVE-2024-45440?
How can I check Packagist dependencies for CVE-2024-45440?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mg8j-w93w-xjgc",
"modified" : "2025-04-23T14:37:07Z",
"published" : "2024-08-29T12:31:05Z",
"aliases" : [ "CVE-2024-45440" ],
"summary" : "Drupal Full Path Disclosure",
"details" : "`core/authorize.php` in Drupal 11.x-dev allows Full Path Disclosure (even when error logging is None) if the value of `hash_salt` is `file_get_contents` of a file that does not exist.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "drupal/drupal"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "10.3.0"
}, {
"fixed" : "10.3.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "drupal/drupal"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "11.0.0"
}, {
"fixed" : "11.0.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "drupal/core-recommended"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "10.3.0"
}, {
"fixed" : "10.3.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "drupal/core-recommended"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "11.0.0"
}, {
"fixed" : "11.0.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "drupal/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "10.3.0"
}, {
"fixed" : "10.3.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "drupal/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "11.0.0"
}, {
"fixed" : "11.0.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "drupal/drupal"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.0.0"
}, {
"fixed" : "10.2.9"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "drupal/core-recommended"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.0.0"
}, {
"fixed" : "10.2.9"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "drupal/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.0.0"
}, {
"fixed" : "10.2.9"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-45440"
}, {
"type" : "WEB",
"url" : "https://github.com/github/advisory-database/pull/4827"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/drupal/drupal"
}, {
"type" : "WEB",
"url" : "https://senscybersecurity.nl/CVE-2024-45440-Explained"
}, {
"type" : "WEB",
"url" : "https://www.drupal.org/project/drupal/issues/3457781"
}, {
"type" : "WEB",
"url" : "https://www.drupal.org/project/drupal/releases/10.2.9"
}, {
"type" : "WEB",
"url" : "https://www.drupal.org/project/drupal/releases/10.3.6"
}, {
"type" : "WEB",
"url" : "https://www.drupal.org/project/drupal/releases/11.0.5"
}, {
"type" : "WEB",
"url" : "https://www.exploit-db.com/exploits/52266"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-209", "CWE-497" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-08-29T18:05:46Z",
"nvd_published_at" : "2024-08-29T11:15:27Z"
}
}