{"api_version":"1","generated_at":"2026-07-23T13:00:31+00:00","cve":"CVE-2022-23510","urls":{"html":"https://cve.report/CVE-2022-23510","api":"https://cve.report/api/cve/CVE-2022-23510.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-23510","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-23510"},"summary":{"title":"CVE-2022-23510","description":"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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2022-12-09 23:15:00","updated_at":"2022-12-13 15:07:00"},"problem_types":["CWE-89"],"metrics":[],"references":[{"url":"https://github.com/cube-js/cube.js/commit/f1140de508e359970ac82b50bae1c4bf152f6041","name":"https://github.com/cube-js/cube.js/commit/f1140de508e359970ac82b50bae1c4bf152f6041","refsource":"MISC","tags":[],"title":"Revert \"chore(cubejs-api-gateway): added endpoint to run sql query di… · cube-js/cube.js@f1140de · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/cube-js/cube.js/commit/3c614674fed6ca17df08bbba8c835ef110167570","name":"https://github.com/cube-js/cube.js/commit/3c614674fed6ca17df08bbba8c835ef110167570","refsource":"MISC","tags":[],"title":"Revert \"feat(api-gateway, server-core): Added dataSources list to ext… · cube-js/cube.js@3c61467 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/cube-js/cube.js/security/advisories/GHSA-6jqm-3c9g-pch7","name":"https://github.com/cube-js/cube.js/security/advisories/GHSA-6jqm-3c9g-pch7","refsource":"MISC","tags":[],"title":"Row level security bypass · Advisory · cube-js/cube.js · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-23510","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23510","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"23510","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"cube","cpe5":"cube.js","cpe6":"0.31.23","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2022-23510","ASSIGNER":"security-advisories@github.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","cweId":"CWE-89"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"cube-js","product":{"product_data":[{"product_name":"cube.js","version":{"version_data":[{"version_value":"= 0.31.23","version_affected":"="}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/cube-js/cube.js/security/advisories/GHSA-6jqm-3c9g-pch7","refsource":"MISC","name":"https://github.com/cube-js/cube.js/security/advisories/GHSA-6jqm-3c9g-pch7"},{"url":"https://github.com/cube-js/cube.js/commit/3c614674fed6ca17df08bbba8c835ef110167570","refsource":"MISC","name":"https://github.com/cube-js/cube.js/commit/3c614674fed6ca17df08bbba8c835ef110167570"},{"url":"https://github.com/cube-js/cube.js/commit/f1140de508e359970ac82b50bae1c4bf152f6041","refsource":"MISC","name":"https://github.com/cube-js/cube.js/commit/f1140de508e359970ac82b50bae1c4bf152f6041"}]},"source":{"advisory":"GHSA-6jqm-3c9g-pch7","discovery":"UNKNOWN"},"impact":{"cvss":[{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":9.6,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","version":"3.1"}]}},"nvd":{"publishedDate":"2022-12-09 23:15:00","lastModifiedDate":"2022-12-13 15:07:00","problem_types":["CWE-89"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:cube:cube.js:0.31.23:*:*:*:*:node.js:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2022","CveId":"23510","Ordinal":"226336","Title":"CVE-2022-23510","CVE":"CVE-2022-23510","Year":"2022"},"notes":[{"CveYear":"2022","CveId":"23510","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}