Impact
The vulnerability in ash_sql causes two aggregate queries with the same name but different filters to be treated as identical. The first aggregate registered is returned for subsequent requests, allowing a narrow filter to return a value computed over a broader set of rows. This leads to counts, sums, or lists being revealed across tenancy or authorization boundaries, effectively bypassing intended access controls and exposing sensitive data.
Affected Systems
The affected product is ash_sql from the ash-project. Versions from 0.1.0 up to, but not including, 0.7.1 are impacted.
Risk and Exploitability
The CVSS score is 2.1, indicating low severity, and the EPSS score is not available. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector involves an application user or client that can submit aggregate queries with duplicate names and varying filters. Exploitation requires the ability to configure aggregate names within the application, which may be possible via API or user interface, enabling an attacker to retrieve aggregated data they should not have access to. While the probability of exploitation is low and there is no remote code execution, the confidentiality impact warrants remediation.
OpenCVE Enrichment