# DRUPAL-CONTRIB-2018-081 - This module provides a JSON:API specification-compliant HTTP API for accessing and manipulating Drupal content and configuration entities.

Source: https://junglewise.ai/threats/drupal-contrib-2018-081-this-module-provides-a-json-api-specification-dccd2cf8  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2018-12-19  
License: CC BY 4.0 with a link back

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.

Technologies: [Packagist:Https://Packages.Drupal.Org/8 Drupal/Jsonapi](https://junglewise.ai/threats/technologies/drupal-jsonapi). Vendors: [Packagist:Https://Packages.Drupal.Org/8](https://junglewise.ai/threats/vendors/packagist-https-packages-drupal-org-8).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Informational severity, published 19 December 2018.

**Which products and versions are affected?** Packagist:Https://Packages.Drupal.Org/8 Drupal/Jsonapi ECOSYSTEM:introduced=0,fixed=1.24.0.

**Is there a fix for This vulnerability?** 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

## Affected products

- Packagist:Https://Packages.Drupal.Org/8 Drupal/Jsonapi ECOSYSTEM:introduced=0,fixed=1.24.0

## Related threats

- [DRUPAL-CONTRIB-2020-010 - This module provides a JSON API standards-compliant API for accessing and manipulating…](https://junglewise.ai/threats/drupal-contrib-2020-010-this-module-provides-a-json-api-standards-ad2e99b1)
- [DRUPAL-CONTRIB-2019-019 - This resolves issues described in [SA-CORE-2019-003](https://www.drupal.org/sa-core-2019-003) for this module.](https://junglewise.ai/threats/drupal-contrib-2019-019-this-resolves-issues-described-in-sa-core-2019-e82562bb)
- [DRUPAL-CONTRIB-2018-021 - This module provides a JSON API standards-compliant API for accessing and manipulating…](https://junglewise.ai/threats/drupal-contrib-2018-021-this-module-provides-a-json-api-standards-2697650f)
- [DRUPAL-CONTRIB-2018-016 - This module provides a JSON API standards-compliant API for accessing and manipulating…](https://junglewise.ai/threats/drupal-contrib-2018-016-this-module-provides-a-json-api-standards-86bba8de)
- [DRUPAL-CONTRIB-2018-015 - This module provides a JSON API standards-compliant API for accessing and manipulating…](https://junglewise.ai/threats/drupal-contrib-2018-015-this-module-provides-a-json-api-standards-473bf0d5)
