# CVE-2022-24827: SQL Injection in elide-datastore-aggregation

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.39%, higher than 73% of CVEs (2026-12-01)
- Published: 2022-04-08T22:43:17.000Z
- Modified: 2026-06-17T04:32:36.537Z
- Also known as: GHSA-8xpj-9j9g-fc9r
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- yahoo elide: = 6.1.3
- com.yahoo.elide:elide-datastore-aggregation (Maven): from 6.1.3 before 6.1.4
- elide elide: 6.1.3

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/yahoo/elide/security/advisories/GHSA-8xpj-9j9g-fc9r> (third-party-advisory, web)
- <https://github.com/yahoo/elide/pull/2581> (patch, third-party-advisory, web)
- <https://github.com/yahoo/elide/releases/tag/6.1.4> (release-notes, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-24827> (advisory)
- <https://github.com/yahoo/elide> (package)

## Sources

- CVE List: [CVE-2022-24827](https://www.cve.org/CVERecord?id=CVE-2022-24827), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-8xpj-9j9g-fc9r](https://github.com/advisories/GHSA-8xpj-9j9g-fc9r), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-24827](https://nvd.nist.gov/vuln/detail/CVE-2022-24827), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-24827 · Whole record: https://cve.day/CVE-2022-24827.json · Rebuilt by cve.day 2026-11-25T22:58:10.543Z
