ash_typescript is vulnerable to Uncontrolled Resource Consumption
82
High Risk
ash_typescript resolve_typed_struct_field/2 calls String.to_atom/1 on client-supplied field names that are not in the typed struct reverse map, before unknown fields are rejected. Atoms are never garbage collected, so repeated RPC requests with distinct unresolved field names exhaust the BEAM atom table and crash the node. The path needs a resource field backed by an Ash.TypedStruct that is reachable through an RPC endpoint. The fix no longer converts those field names to atoms.
You are affected if you are using a version that falls within the vulnerable range and you expose an RPC endpoint with a resource field backed by an Ash.TypedStruct.
ash_typescript is vulnerable to Uncontrolled Resource Consumption in versions 0.11.0 - 0.17.3.
Upgrade the ash_typescript library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.