Am I affected?

type your ash_admin version to check

Description

Allocation of Resources Without Limits or Throttling vulnerability in ash-project ash_admin lets any client that can reach the admin LiveView exhaust the BEAM atom table and crash the entire node.

Two LiveView event handlers interned atoms from unvalidated client input: AshAdmin.PageLive's set_actor built modules from the resource/domain payload with Module.concat/1, and AshAdmin.Components.Resource.Show's calculate converted every submitted form key with String.to_atom/1. Atoms are never garbage collected and the table is capped, so flooding either event with random names mints a new atom per request until the VM aborts, taking down every application on the node. The fix resolves the submitted resource/domain against the known shown resources and maps calculation keys to declared arguments, so no client-supplied string is interned.

This issue affects ash_admin: from 0.1.0 before 1.3.1.

Weaknesses & attack patterns

Weakness

CWE-770 · Allocation of Resources Without Limits or Throttling in catalog → MITRE ↗

Attack patterns

CAPEC-130 · Excessive Allocation MITRE ↗

Affected — Hex / ash_admin Hex.pm ↗ Repository ↗

≥ 0.1.0 < 1.3.1 affected
every other version: unaffected
cpe cpe:2.3:a:ash-project:ash_admin:*:*:*:*:*:*:*:*
version type semver
modules · source files · routines
modules 'Elixir.AshAdmin.PageLive' · 'Elixir.AshAdmin.Components.Resource.Show'
source files lib/ash_admin/pages/page_live.ex · lib/ash_admin/components/resource/show.ex
routines 'Elixir.AshAdmin.PageLive':handle_event/3 · 'Elixir.AshAdmin.Components.Resource.Show':handle_event/3

Affected — GitHub / ash-project/ash_admin Repository ↗

≥ 98b03ba < 731dffa affected
every other version: unaffected
cpe cpe:2.3:a:ash-project:ash_admin:*:*:*:*:*:*:*:*
version type git
modules · source files · routines
modules 'Elixir.AshAdmin.PageLive' · 'Elixir.AshAdmin.Components.Resource.Show'
source files lib/ash_admin/pages/page_live.ex · lib/ash_admin/components/resource/show.ex
routines 'Elixir.AshAdmin.PageLive':handle_event/3 · 'Elixir.AshAdmin.Components.Resource.Show':handle_event/3

References

Credits

Peter Ullrich Finder Reporter
Jonatan Männchen / EEF Coordinator
Zach Daniel / Ash Project Remediation developer

CVSS breakdown

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H

Exploitability

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None

Vulnerable System

Confidentiality
None
Integrity
None
Availability
High

Subsequent Systems

Confidentiality
None
Integrity
None
Availability
High
« All CVEs