ash is vulnerable to Incorrect Authorization
60
CVE Score
Medium
Incorrect Authorization
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.
Upgrade the ash library to the patch version.
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.
2.11.0 - 3.33.3
Fixed in 3.33.4ash is vulnerable to Incorrect Authorization in versions 2.11.0 - 3.33.3.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
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.