CVE-2022-24827 json
SQL Injection in elide-datastore-aggregation
published 2022-04-08 4 y ago modified 2026-06-17 4 mo ago also GHSA-8xpj-9j9g-fc9r , EUVD-2022-1685
- cvss
- 8.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 72%
- public exploits
- 0
- none known
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.
Patch / fix
- maven com.yahoo.elide:elide-datastore-aggregation 6.1.4
- github.com/yahoo/elide#2581 pull request
- github.com/yahoo/elide/releases/tag/6.1.4 release
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 18 mo ago
Exploit prediction
1.39% chance of exploitation in the next 30 days, higher than 72% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | com.yahoo.elide:elide-datastore-aggregation | >=6.1.3, <6.1.4 |
6.1.4 |
Affected products
- yahoo elide
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
-
github.com
/yahoo/elide/pull/2581
web, patch, third-party-advisory
-
github.com
/yahoo/elide/security/advisories/GHSA-8xpj-9j9g-fc9r
web, third-party-advisory
-
github.com
/yahoo/elide/releases/tag/6.1.4
web, release-notes, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-24827
advisory
-
github.com
/yahoo/elide
package
Sources
- CVE List CVE-2022-24827
- GitHub Advisory GHSA-8xpj-9j9g-fc9r
- NVD CVE-2022-24827
Fencer Vulns 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.