DRUPAL-CONTRIB-2018-081 - This module provides a JSON:API specification-compliant HTTP API for accessing and manipulating Drupal content and configuration entities.
Severity: info · Published 2018-12-19
This module provides a JSON:API specification-compliant HTTP API for accessing and manipulating Drupal content and configuration entities.
The module doesn't sufficiently check access when responding to certain filtered collection requests, thereby causing an access bypass vulnerability. (This means certain `GET` requests are vulnerable; no `POST`, `PATCH` or `DELETE` requests are vulnerable.)
In order to fix this issue, two new hooks were added: `hook_jsonapi_ENTITY_TYPE_filter_access()` and `hook_jsonapi_entity_field_filter_access()`. Sites with custom entity types and/or with entity or field access customizations may need to implement these newly introduced hooks.
Yes. Packagist:Https://Packages.Drupal.Org/8 Drupal/Jsonapi: upgrade to 1.24.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/Jsonapi 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/Jsonapi: upgrade to 1.24.0 or later