critical7.5
CVE-2023-5256
Cache poisoning in drupal/core
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | drupal/core | >= 8.7.0, < 9.5.11 | 9.5.11 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Drupal | Drupal | from 8.7.0 before 9.5.11 from 10.0.0 before 10.0.11 from 10.1.0 before 10.1.4 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://www.drupal.org/sa-core-2023-006
- https://github.com/advisories/GHSA-rjqg-3h9m-fx5x
- https://nvd.nist.gov/vuln/detail/CVE-2023-5256
- https://github.com/drupal/core/commit/1cd2741c2b43f6ad1bdfc121b8d9ec3b87e70742
- https://github.com/drupal/core/commit/5495dc530e3acd056478245bfe1828210c6da7dc
- https://github.com/drupal/core/commit/d4fe67562ee3ea0d9ecb9672d2945d94c5633d24