Skip to content
OpenAdvisories

Package · Hex

ash_sql

5 known vulnerabilities.

5 results · Feed

  • Medium 5.9

    exists/2 predicate silently dropped on limited relationships with a parent() filter in AshSql

    Incorrect Authorization vulnerability in ash-project ash_sql allows a caller to bypass a scoping or authorization filter expressed as exists/2 over a relationship that declares both a limit (or from_many?) and a parent(...)-referencing filter or sort. AshSql.…

  • Low 2.1

    Same-named aggregates with differing filters are conflated in AshSql

    Incorrect Authorization vulnerability in ash-project ash_sql allows a caller to receive an aggregate value computed over rows a more restrictive filter should have excluded, disclosing counts, sums, or lists across an authorization or tenancy boundary. AshSql…

  • Low 2.1

    Distinct-query aggregate drops the tenant schema prefix, leaking across tenants in AshSql

    Incorrect Authorization vulnerability in ash-project ash_sql allows a caller in a schema-based multitenant application to receive aggregate values computed from another tenant's rows. When an aggregate is computed over a distinct query, AshSql.AggregateQuery.…

  • Low 2.1

    Unescaped backslash allows LIKE wildcard injection in AshSql string search

    Improper Neutralization of Special Elements in Data Query Logic vulnerability in ash-project ash_sql allows a user who supplies a search term to contains/2, string_starts_with/2, or string_ends_with/2 to inject live SQL LIKE wildcards, turning a literal subst…

  • Low 2.1

    SQL string_trim removes only spaces, diverging from in-memory trimming in AshSql

    Incorrect Comparison vulnerability in ash-project ash_sql allows a user to pad a string field with tab, newline, carriage-return, or form-feed characters and pass a trimmed uniqueness or equality check in the database that the same expression would fail in me…