DRUPAL-CONTRIB-2023-050 - This module lets you craft and expose a GraphQL schema for Drupal 9 and 10. The module…
Severity: info · Published 2023-11-08
This module lets you craft and expose a GraphQL schema for Drupal 9 and 10.
The module currently does not adequately verify whether a given user has the necessary permissions to access an entity's label creating an access bypass vulnerability.
This vulnerability is mitigated by the fact that entity view and entity label access are usually handled by the same access check; developers have to opt-in for supporting different logic on entity types. Additionally your schema must make use of the EntityLabel DataProducer to be affected.
Yes. Packagist:Https://Packages.Drupal.Org/8 Drupal/Graphql: upgrade to 3.4.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected?
Check whether you run Packagist:Https://Packages.Drupal.Org/8 Drupal/Graphql at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
Packagist:Https://Packages.Drupal.Org/8 Drupal/Graphql: upgrade to 3.4.0 or later