CVE-2026-82735

Vulnérabilité moyenne dans ash (ash-project)

CVSS 5.9 · Moyenne
EPSS 0.2%
ash-project•ash•Versions : 05848d5f4affe60fddd812222a18ada080c0813b, <14928412a1a94a69c47df8e98920d3a2b09cdec4, <3.32.2, 0.10.0

Description

Uncontrolled Resource Consumption vulnerability in ash-project ash allows an attacker to force an expensive regular expression to run on input that a length constraint should have already rejected. Ash.Type.String.apply_constraints/2 (lib/ash/type/string.ex) evaluated the :match regex regardless of the min_length and max_length constraints on the same attribute. Because the length check did not gate the regex, an over-length value that the length constraint rejects still had the pattern applied to it, so the length limit that would otherwise bound the work never constrained the regex input. Against a backtracking pattern this yields catastrophic regex evaluation on attacker-sized input, and even a linear pattern runs on arbitrarily large input, consuming CPU per request. The fix skips the :match regex whenever a length constraint is violated, making the two checks order-independent. This issue affects ash: from 0.10.0 before 3.32.2.

Gravité et risque d'exploitation

CVE-2026-82735 obtient un score CVSS de 5.9/10, soit une gravité moyenne. Selon le modèle EPSS, la probabilité qu'elle soit exploitée dans les 30 prochains jours est de 0.18 %, ce qui la place devant 7.1 % des CVE référencées.

Que faire ?

  • Vérifiez si ash (versions 05848d5f4affe60fddd812222a18ada080c0813b, <14928412a1a94a69c47df8e98920d3a2b09cdec4, <3.32.2, 0.10.0) est présent sur votre parc.
  • Appliquez le correctif ou la version corrigée indiqués dans les références de l'éditeur.
  • À défaut de correctif, limitez l'exposition (filtrage réseau, désactivation du composant).
  • Automatisez la détection : les agents CVE Heimdall (gratuits, open source) corrèlent l'inventaire de vos serveurs avec la base CVE.

Références