CVE-2023-31250: Drupal/core Access Bypass Vulnerability
CRITICALCVE-2023-31250 is a CRITICAL access bypass vulnerability (General Security Weakness) affecting Drupal/core libraries in the Packagist ecosystem. The issue involves access bypass in drupal core. Remediation is available by upgrading affected packages to version 10.0.8, 9.5.8, 9.4.14, 7.96.
CVE-2023-31250 at a Glance
How to Fix CVE-2023-31250
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.0.8
Upgrade drupal/core to 9.5.8
Upgrade drupal/core to 9.4.14
Upgrade drupal/core to 7.96
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-2023-31250, 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.0.8), 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 General Security Weakness. 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-2023-31250 Affected Drupal/core Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
drupal/core
|
Packagist |
≥ 10.0.0
< 10.0.8
|
10.0.8
|
|
drupal/core
|
Packagist |
≥ 9.5.0
< 9.5.8
|
9.5.8
|
|
drupal/core
|
Packagist |
≥ 9.0.0
< 9.4.14
|
9.4.14
|
|
drupal/core
|
Packagist |
≥ 7.0.0
< 7.96
|
7.96
|
References
Frequently Asked Questions
What is CVE-2023-31250?
Which Drupal/core versions are affected?
What version fixes CVE-2023-31250?
Is drupal/core affected?
What CWE is associated with CVE-2023-31250?
How can I check Packagist dependencies for CVE-2023-31250?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8849-cv9f-vccm",
"modified" : "2023-04-27T14:01:16Z",
"published" : "2023-04-26T21:30:37Z",
"aliases" : [ "CVE-2023-31250" ],
"summary" : "Access bypass in Drupal core",
"details" : "The file download facility doesn't sufficiently sanitize file paths in certain situations. This may result in users gaining access to private files that they should not have access to. Some sites may require configuration changes following this security release. Review the release notes for your Drupal version if you have issues accessing private files after updating.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "drupal/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "10.0.0"
}, {
"fixed" : "10.0.8"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "drupal/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "9.5.0"
}, {
"fixed" : "9.5.8"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "drupal/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "9.0.0"
}, {
"fixed" : "9.4.14"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "drupal/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.0.0"
}, {
"fixed" : "7.96"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-31250"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/drupal/core"
}, {
"type" : "WEB",
"url" : "https://www.drupal.org/sa-core-2023-005"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2023-04-27T14:01:16Z",
"nvd_published_at" : "2023-04-26T19:15:09Z"
}
}