Drupal access bypass vulnerability
Published 13 May 2022 · Updated 23 Apr 2024
Affected packages
- Affected
- >=8.4.0 <8.4.5
- Fixed in
- 8.4.5
composer require drupal/core:^8.4.5- Affected
- >=8.4.0 <8.4.5
- Fixed in
- 8.4.5
composer require drupal/drupal:^8.4.5Details
In Drupal versions 8.4.x versions before 8.4.5 when using node access controls with a multilingual site, Drupal marks the untranslated version of a node as the default fallback for access queries. This fallback is used for languages that do not yet have a translated version of the created node. This can result in an access bypass vulnerability. This issue is mitigated by the fact that it only applies to sites that a) use the Content Translation module; and b) use a node access module such as Domain Access which implement hook_node_access_records().
Is GHSA-3327-jr93-7hq3 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected drupal/core, and gives you the command that fixes it.
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.