# CVE-2024-13258: DRUPAL-CONTRIB-2024-022 - Drupal REST & JSON API Authentication module restricts and secures unauthorized access to…

Source: https://junglewise.ai/threats/cve-2024-13258-drupal-contrib-2024-022-drupal-rest-json-api-authentication  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-05-29  
License: CC BY 4.0 with a link back

CVE-2024-13258 · Severity: info · Published 2024-05-29

Drupal REST & JSON API Authentication module restricts and secures unauthorized access to your Drupal site APIs using different authentication methods including Basic Authentication , API Key Authentication , JWT Authentication , OAuth Authentication , External / Third-Party Provider Authentication, etc.

The module doesn't sufficiently control user access when using Basic Authentication.

Technologies: [Packagist:Https://Packages.Drupal.Org/8 Drupal/Rest Api Authentication](https://junglewise.ai/threats/technologies/drupal-rest-api-authentication). Vendors: [Packagist:Https://Packages.Drupal.Org/8](https://junglewise.ai/threats/vendors/packagist-https-packages-drupal-org-8).

## Quick answers

**Is CVE-2024-13258 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-13258 being exploited in the wild.

**How severe is CVE-2024-13258?** Informational severity, published 29 May 2024.

**Which products and versions are affected?** Packagist:Https://Packages.Drupal.Org/8 Drupal/Rest Api Authentication ECOSYSTEM:introduced=0,fixed=2.0.13.

**Is there a fix for CVE-2024-13258?** Yes. Packagist:Https://Packages.Drupal.Org/8 Drupal/Rest Api Authentication: upgrade to 2.0.13 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-13258?** Check whether you run Packagist:Https://Packages.Drupal.Org/8 Drupal/Rest Api Authentication 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/Rest Api Authentication: upgrade to 2.0.13 or later

## Affected products

- Packagist:Https://Packages.Drupal.Org/8 Drupal/Rest Api Authentication ECOSYSTEM:introduced=0,fixed=2.0.13

## Identifiers

- CVE-2024-13258
- DRUPAL-CONTRIB-2024-022

## Related threats

- [REST & JSON API Authentication for Drupal authentication bypass](https://junglewise.ai/threats/cve-2026-122067-drupal-contrib-2026-298-the-rest-json-api-authentication-module)
- [Drupal REST & JSON API Authentication access bypass](https://junglewise.ai/threats/cve-2026-96385-drupal-contrib-2026-182-this-module-enables-you-to-add-an-extra)
