WaratekVRT Sign in

CVE-2022-24827 Elide

Affected softwareElide
Severity8.1 High CVSS 3.1 3 scores
Fixed in6.1.4
WeaknessSQL injection (CWE-89)
Published11 Apr 2022
Updated17 Jun 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 4 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 1.4% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR sql-injection security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-89: SQL Injection.
Candidate fix https://github.com/yahoo/elide/pull/2581 : a pull request: the change under review

How to mitigate CVE-2022-24827

Upgrade Elide to 6.1.4 or later. Until you can, Waratek RASP blocks exploitation with its SQL injection rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

8.1 HIGH v3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H 3 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
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 security-advisories@github.com Secondary published
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 Primary
CVSS 2.0 6.8 none AV:N/AC:M/Au:N/C:P/I:P/A:P NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
com.yahoo.elide:elide-datastore-aggregation 6.1.3 6.1.4 unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
osv com.yahoo.elide elide-datastore-aggregation generic ≥ 6.1.3 and < 6.1.4
nvd elide elide generic 6.1.3

References

URLTags
https://github.com/yahoo/elide/pull/2581 pr
https://github.com/yahoo/elide/security/advisories/GHSA-8xpj-9j9g-fc9r WEB
https://github.com/yahoo/elide PACKAGE
https://github.com/yahoo/elide/releases/tag/6.1.4 WEB

Timeline

Published2022-04-11By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.