Improper Access Control Affecting @keystone-6/core package, versions <5.5.1


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.07% (36th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Access Control vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-KEYSTONE6CORE-5843455
  • published16 Aug 2023
  • disclosed15 Aug 2023
  • creditdcousens

Introduced: 15 Aug 2023

CVE-2023-40027  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade @keystone-6/core to version 5.5.1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Access Control when ui.isAccessAllowed is set as undefined, the adminMeta GraphQL query is publicly accessible (no session required). This is different from the behavior of the default AdminUI middleware, which by default will only be publicly accessible (no session required) if a session strategy is not defined.

Workaround

Users unable to upgrade may opt to write their own isAccessAllowed functionality to work around this vulnerability.

CVSS Base Scores

version 3.1