Katalog CVE

CVE-2026-86338

ŚrednieCVSS 6.0
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.32%

Percentyl 25 - wyżej niż 25% wszystkich znanych CVE

Streszczenie

W Ash przed wersją 3.33.4, polityki pól (field_policies) mają chronić przed ujawnianiem informacji przez filtry, ale nilling (zastępowanie wartością nil) był stosowany tylko do atrybutów, nie do obliczeń (calculations) ani agregatów (aggregates). Użytkownik może odwołać się w filtrze do obliczenia lub agregatu, którego nie może zobaczyć, i użyć filtra jako wyroczni do odczytania chronionej wartości (np. filter(secret_calc == "x")).

Ocena ryzyka

Niżej uprzywilejowani aktorzy mogą odczytać chronione wartości (np. przez API GraphQL lub JSON), co narusza poufność danych i może prowadzić do eskalacji uprawnień lub wycieku wrażliwych informacji.

Rekomendacja

Zaktualizuj Ash do wersji 3.33.4 lub nowszej. Po aktualizacji przetestuj filtry na obliczeniach i agregatach, aby upewnić się, że są one odpowiednio nilowane.

Inne podatności w Ash

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

Ash field_policies are documented to protect against filter-based information disclosure: when a field the actor may not see is referenced in a filter, it is replaced with an expression that evaluates to nil, so a filter cannot be used as a yes/no oracle to read a value the actor cannot see. This nilling was applied to attributes but not to calculations or aggregates. A user-supplied filter reference to a calculation or aggregate carries an Ash.Query.Calculation / Ash.Query.Aggregate struct, which the authorizer's reference replacement did not match (it only matched the Ash.Resource.* structs), so the filter ran against the real value. As a result, an actor whose field policies forbid a calculation or aggregate can still filter by it (for example filter(secret_calc == "x") or filter(comment_count == n)) and learn the value from whether rows match — an oracle that recovers field-policy-protected values one probe at a time. Filtering is commonly exposed to lower-privileged actors (for example via AshGraphql or AshJsonApi filter arguments), which is exactly the surface field policies are meant to protect. The fix routes filter references to calculations and aggregates through the same field-policy nilling as attributes. This issue affects ash: from 2.11.0-rc.0 before 3.33.4.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS