Advisory

GHSA-rjqg-3h9m-fx5x

Also known as: BIT-drupal-2023-5256, CVE-2023-5256, DRUPAL-CORE-2023-006

Summary

Cache poisoning in drupal/core

Details

In certain scenarios, Drupal's JSON:API module will output error backtraces. With some configurations, this may cause sensitive information to be cached and made available to anonymous users, leading to privilege escalation.

This vulnerability only affects sites with the JSON:API module enabled, and can be mitigated by uninstalling JSON:API.

The core REST and contributed GraphQL modules are not affected.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2023-09-28 21:30 UTC
Modified
2025-12-10 23:41 UTC

Affected packages and fixes

drupal/core

Packagist · All systems

Affected

  • introduced 8.7.0, fixed 9.5.11 (ecosystem)

Fixed versions

9.5.11

Fix

The export has no generic command for this ecosystem.

drupal/core

Packagist · All systems

Affected

  • introduced 10.0.0, fixed 10.0.11 (ecosystem)

Fixed versions

10.0.11

Fix

The export has no generic command for this ecosystem.

drupal/core

Packagist · All systems

Affected

  • introduced 10.1.0, fixed 10.1.4 (ecosystem)

Fixed versions

10.1.4

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences