Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @cubejs-backend/api-gateway
  4. ›
  5. CVE-2022-23510

CVE-2022-23510: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

December 9, 2022 (updated December 13, 2022)

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.

References

  • github.com/advisories/GHSA-6jqm-3c9g-pch7
  • github.com/cube-js/cube.js/commit/3c614674fed6ca17df08bbba8c835ef110167570
  • github.com/cube-js/cube.js/commit/f1140de508e359970ac82b50bae1c4bf152f6041
  • github.com/cube-js/cube.js/security/advisories/GHSA-6jqm-3c9g-pch7
  • nvd.nist.gov/vuln/detail/CVE-2022-23510

Code Behaviors & Features

Detect and mitigate CVE-2022-23510 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

Version 0.31.23

Fixed versions

  • 0.31.24

Solution

Upgrade to version 0.31.24 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

npm/@cubejs-backend/api-gateway/CVE-2022-23510.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:11 +0000.