CVE-2023-40027

Keystone is an open source headless CMS for Node.js — built with GraphQL and React. When `ui.isAccessAllowed` is set as `undefined`, the `adminMeta` GraphQL query is publicly accessible (no session required). This is different to the behaviour of the default AdminUI middleware, which by default will only be publicly accessible (no session required) if a `session` strategy is not defined. This vulnerability does not affect developers using the `@keystone-6/auth` package, or any users that have written their own `ui.isAccessAllowed` (that is to say, `isAccessAllowed` is not `undefined`). This vulnerability does affect users who believed that their `session` strategy will, by default, enforce that `adminMeta` is inaccessible by the public in accordance with that strategy; akin to the behaviour of the AdminUI middleware. This vulnerability has been patched in `@keystone-6/core` version `5.5.1`. Users are advised to upgrade. Users unable to upgrade may opt to write their own `isAccessAllowed` functionality to work-around this vulnerability.
Configurations

Configuration 1 (hide)

cpe:2.3:a:keystonejs:keystone:*:*:*:*:*:node.js:*:*

History

23 Aug 2023, 00:04

Type Values Removed Values Added
CPE cpe:2.3:a:keystonejs:keystone:*:*:*:*:*:node.js:*:*
References (MISC) https://github.com/keystonejs/keystone/pull/8771 - (MISC) https://github.com/keystonejs/keystone/pull/8771 - Patch
References (MISC) https://github.com/keystonejs/keystone/security/advisories/GHSA-9cvc-v7wm-992c - (MISC) https://github.com/keystonejs/keystone/security/advisories/GHSA-9cvc-v7wm-992c - Patch, Vendor Advisory
References (MISC) https://github.com/keystonejs/keystone/commit/650e27e6e9b42abfb94c340c8470faf61f0ff284 - (MISC) https://github.com/keystonejs/keystone/commit/650e27e6e9b42abfb94c340c8470faf61f0ff284 - Patch
First Time Keystonejs keystone
Keystonejs
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.3

15 Aug 2023, 18:23

Type Values Removed Values Added
New CVE

Information

Published : 2023-08-15 18:15

Updated : 2024-02-28 20:33


NVD link : CVE-2023-40027

Mitre link : CVE-2023-40027

CVE.ORG link : CVE-2023-40027


JSON object : View

Products Affected

keystonejs

  • keystone
CWE
CWE-862

Missing Authorization