SQL Injection in Cube Cube.js
CVE-2022-23510
cube-js is a headless business intelligence platform. In version 0.31.23 all authenticated Cube clients could bypass SQL row-level security and run arbitrary SQL via the newly introduced /v1/sql-runner endpoint. This issue has been resolved in version 0.31.24. Users are advised to either upgrade to 0.31.24 or to downgrade to 0.31.22. There are no known workarounds for this vulnerability.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.6 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.010, 63.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Cube Cube.js — versions 0.31.23
- Cube-Js Cube.js — versions = 0.31.23
Weakness classification (CWE)
References
- https://github.com/cube-js/cube.js/security/advisories/GHSA-6jqm-3c9g-pch7 (Third Party Advisory)
- https://github.com/cube-js/cube.js/commit/3c614674fed6ca17df08bbba8c835ef110167570 (Patch, Third Party Advisory)
- https://github.com/cube-js/cube.js/commit/f1140de508e359970ac82b50bae1c4bf152f6041 (Patch, Third Party Advisory)