CVE-2022-23510 json
SQl injection in cube-js
published 3y ago modified 4mo ago also GHSA-6jqm-3c9g-pch7 , EUVD-2022-7533
- cvss
- 9.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 62%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm @cubejs-backend/api-gateway 0.31.24
Is CVE-2022-23510 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- last yr.
Exploit prediction
0.97% chance of exploitation in the next 30 days, higher than 62% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @cubejs-backend/api-gateway | >=0.31.23, <0.31.24 |
0.31.24 |
Affected products
- cube-js cube.js
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
-
github.com
/cube-js/cube.js/commit/3c614674fed6ca17df08bbba8c835ef110167570
web, patch, third-party-advisory
-
github.com
/cube-js/cube.js/commit/f1140de508e359970ac82b50bae1c4bf152f6041
web, patch, third-party-advisory
-
github.com
/cube-js/cube.js/security/advisories/GHSA-6jqm-3c9g-pch7
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-23510
advisory
-
github.com
/cube-js/cube.js
package
Sources
- CVE List CVE-2022-23510
- GitHub Advisory GHSA-6jqm-3c9g-pch7
- NVD CVE-2022-23510
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.