CVE-2026-69659
Beschrijving NL
Ongecontroleerde bronconsumptiekwetsbaarheid in ash-projectash stelt een aanvaller in staat om het geheugen van het knooppunt uit te putten via een bewerkte sleutelset-pagineringcursor. Lees acties met sleutelset paginering deserialiseer de door de client geleverde pagina[:na] of pagina[:voor] cursor in decode_values/2 in lib/ash/page/keyset.ex, die base64-decodeert de waarde en geeft deze door aan : erlang.binary_to_term/2 zonder de grootte ervan te begrenzen. Het Erlang externe termformaat ondersteunt zlib-gecomprimeerde payloads, die de decoder transparant opblaast, zodat een cursor van een paar kilobytes tientallen megabytes aan heap in één gesprek kan toewijzen. Ash zelf codeert alleen ongecomprimeerde cursors, dus de decoder accepteert een termvorm die zijn encoder nooit produceert. Gelijktijdige verzoeken aggregeren deze toewijzingen en kunnen het knooppunt beëindigen. Deze kwestie heeft invloed op as: van 1.17.0 vóór 3.31.1.
Origineel (Engels) tonen
Uncontrolled Resource Consumption vulnerability in ash-project ash allows an attacker to exhaust the memory of the node via a crafted keyset pagination cursor.
Read actions with keyset pagination deserialize the client-supplied page[:after] or page[:before] cursor in decode_values/2 in lib/ash/page/keyset.ex, which base64-decodes the value and passes it to :erlang.binary_to_term/2 without bounding its size. The Erlang external term format supports zlib-compressed payloads, which the decoder inflates transparently, so a cursor of a few kilobytes can allocate tens of megabytes of heap in a single call. Ash itself only ever encodes cursors uncompressed, so the decoder accepts a term shape its encoder never produces. Concurrent requests aggregate these allocations and can terminate the node.
This issue affects ash: from 1.17.0 before 3.31.1.