Unauthenticated denial-of-service via BEAM atom table exhaustion in phoenix_storybook
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in *, 1.1.0 and 96d524690af0fe197a49f60d18e564a620b9ef81.
Allocation of Resources Without Limits or Throttling vulnerability in phenixdigital phoenix_storybook allows unauthenticated denial of service via atom table exhaustion. LiveView event handlers and request parameters of the storybook convert client-supplied strings to atoms. Atoms are never garbage-collected, so a client that sends enough unique strings fills the atom table, and the BEAM node terminates. PhoenixStorybook.ExtraAssignsHelpers.handle_set_variation_assign/3 and handle_toggle_variation_assign/3 call String.to_atom/1 on parameter keys, attribute names, variation ids, and values of attributes declared as :atom or :boolean. PhoenixStorybook.Story.Playground.handle_event/3 and PhoenixStorybook.StoryLive do the same for tab names, theme names, and playground field names. Releases published as phx_live_storybook have the same calls in the PhxLiveStorybook namespace, at first in PhxLiveStorybook.EntryLive. This issue affects phoenix_storybook: from 0.5.0 before 1.1.0; phx_live_storybook: from 0.2.0 onward.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| phenixdigital | =0.2.0, >=0.5.0 <1.1.0, >=0228669d55c23a754d1ef11f49a32121129d5395 <96d524690af0fe197a49f60d18e564a620b9ef81 | *, 1.1.0, 96d524690af0fe197a49f60d18e564a620b9ef81 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket