CVE-2023-40027
Summary
| CVE | CVE-2023-40027 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-08-15 18:15:00 UTC |
| Updated | 2023-08-23 00:04:00 UTC |
| Description | 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. |
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|
| Application |
Keystonejs |
Keystone |
All |
All |
All |
All |
References
| Reference | Source | Link | Tags |
|---|
| Fix `ui.isAccessAllowed` when `undefined` to prevent access (#8771) · keystonejs/keystone@650e27e · GitHub |
MISC |
github.com |
|
| Fix `ui.isAccessAllowed` when `undefined` to prevent access by dcousens · Pull Request #8771 · keystonejs/keystone · GitHub |
MISC |
github.com |
|
| When `ui.isAccessAllowed` is undefined, the admin meta GraphQL query is publicly accessible · Advisory · keystonejs/keystone · GitHub |
MISC |
github.com |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 994862 NodeJs (Npm) Security Update for @keystone-6/core (GHSA-9cvc-v7wm-992c)