Access Restriction Bypass Affecting @cubejs-backend/api-gateway package, versions >=0.31.23 <0.31.24


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.18% (57th 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 Access Restriction Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-CUBEJSBACKENDAPIGATEWAY-3167257
  • published11 Dec 2022
  • disclosed11 Dec 2022
  • creditUnknown

Introduced: 11 Dec 2022

CVE-2022-23510  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade @cubejs-backend/api-gateway to version 0.31.24 or higher.

Overview

@cubejs-backend/api-gateway is a package that provides idempotent long polling API.

Affected versions of this package are vulnerable to Access Restriction Bypass when all authenticated Cube clients could bypass SQL row-level security and run arbitrary SQL commands via the newly introduced /v1/sql-runner endpoint.

CVSS Scores

version 3.1