SQL Injection in elide-datastore-aggregation
Elide is a Java library that lets you stand up a GraphQL/JSON-API web service with minimal effort. When leveraging the following together: Elide Aggregation Data Store for Analytic Queries, Parameterized Columns (A column that requires a client provided parameter), and a parameterized column of type TEXT. There is the potential for a hacker to provide a carefully crafted query that would bypass server side authorization filters through SQL injection. A recent patch to Elide 6.1.2 allowed the '-' character to be included in parameterized TEXT columns. This character can be interpreted as SQL comments ('--') and allow the attacker to remove the WHERE clause from the generated query and bypass authorization filters. A fix is provided in Elide 6.1.4. The vulnerability only exists for parameterized columns of type TEXT and only for analytic queries (CRUD is not impacted). Workarounds include leveraging a different type of parameterized column (TIME, MONEY, etc) or not leveraging parameterized columns.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-24827
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 8 Nov 2026, 01:02 UTC · Revision 1
Source evidence
SQL Injection in elide-datastore-aggregation
core-osv · Original sourcePublished 11 Apr 2022, 20:13 UTC
Elide is a Java library that lets you stand up a GraphQL/JSON-API web service with minimal effort. When leveraging the following together: Elide Aggregation Data Store for Analytic Queries, Parameterized Columns (A column that requires a client provided parameter), and a parameterized column of type TEXT. There is the potential for a hacker to provide a carefully crafted query that would bypass server side authorization filters through SQL injection. A recent patch to Elide 6.1.2 allowed the '-' character to be included in parameterized TEXT columns. This character can be interpreted as SQL comments ('--') and allow the attacker to remove the WHERE clause from the generated query and bypass authorization filters. A fix is provided in Elide 6.1.4. The vulnerability only exists for parameterized columns of type TEXT and only for analytic queries (CRUD is not impacted). Workarounds include leveraging a different type of parameterized column (TIME, MONEY, etc) or not leveraging parameterized columns.
osv:CVE-2022-24827
Complete source record
{
"id": "58d37884d80ef44ee023cad78ff82285b92c477822bf7593a31e338fdf63c0a5",
"url": "https://osv.dev/vulnerability/CVE-2022-24827",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "SQL Injection in elide-datastore-aggregation",
"summary": "Elide is a Java library that lets you stand up a GraphQL/JSON-API web service with minimal effort. When leveraging the following together: Elide Aggregation Data Store for Analytic Queries, Parameterized Columns (A column that requires a client provided parameter), and a parameterized column of type TEXT. There is the potential for a hacker to provide a carefully crafted query that would bypass server side authorization filters through SQL injection. A recent patch to Elide 6.1.2 allowed the '-' character to be included in parameterized TEXT columns. This character can be interpreted as SQL comments ('--') and allow the attacker to remove the WHERE clause from the generated query and bypass authorization filters. A fix is provided in Elide 6.1.4. The vulnerability only exists for parameterized columns of type TEXT and only for analytic queries (CRUD is not impacted). Workarounds include leveraging a different type of parameterized column (TIME, MONEY, etc) or not leveraging parameterized columns.",
"evidence": "osv:CVE-2022-24827",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2022-24827",
"aliases": [
"CVE-2022-24827",
"GHSA-8xpj-9j9g-fc9r"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/yahoo/elide",
"type": "GIT",
"events": [
{
"introduced": "39c3d19b0a0f20c9a106a4fe1fe9fc321dd5ab15"
},
{
"fixed": "4231fea7ca261d419415effd65c7988b037a06bc"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "= 6.1.3"
},
{
"last_affected": "= 6.1.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"fixed": "4231fea7ca261d419415effd65c7988b037a06bc"
}
],
"source": "REFERENCES_TAG",
"original_tag": "6.1.4"
}
]
}
}
],
"versions": [
"6.1.3",
"= 6.1.3"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-24827.json"
}
}
],
"modified": "2026-10-28T02:30:52.655060529Z",
"provider": "osv",
"references": [
"https://github.com/yahoo/elide/releases/tag/6.1.4",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24827.json",
"https://github.com/yahoo/elide/security/advisories/GHSA-8xpj-9j9g-fc9r",
"https://nvd.nist.gov/vuln/detail/CVE-2022-24827",
"https://github.com/yahoo/elide/pull/2581"
],
"provider_metadata": {
"cwe_ids": [
"CWE-89"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24827.json"
}
},
"related_cves": [
{
"value": "CVE-2022-24827",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 521172,
"published_at": "2022-04-11T20:13:40+00:00"
}