ash is vulnerable to Incorrect Authorization
60
Medium Risk
Ash field policies replace a forbidden field referenced in a filter with nil, so a filter cannot be used as a yes/no oracle for a value the actor may not see. Replacement only matched Ash.Resource.Attribute, Ash.Resource.Aggregate, and Ash.Resource.Calculation structs, so a filter reference that used Ash.Query.Calculation or Ash.Query.Aggregate skipped replacement and used the real value. An actor whose field policy forbids a calculation or aggregate could still filter on it and recover the hidden value by probing which rows match, including through filter arguments in GraphQL or JSON:API extensions. The fix uses the same field policy nil replacement for calculation and aggregate filter references as for attributes.
You are affected if you are using a version that falls within the vulnerable range and you define field policies that forbid a calculation or aggregate that remains filterable.
ash is vulnerable to Incorrect Authorization in versions 2.11.0 - 3.33.3.
Upgrade the ash library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.