ash_oban is vulnerable to Improperly Controlled Modification of Dynamically-Determined Object Attributes
59
Medium Risk
AshOban builds Oban jobs for a trigger by merging trusted job arguments with caller-supplied values passed through the :args option. Trusted keys are atoms while caller keys arrive as strings after JSON encoding, so Map.merge keeps both and PostgreSQL jsonb deduplication retains the caller's string-keyed values. A user whose input reaches :args can override reserved fields such as primary_key, tenant, and action_arguments, retargeting an update or destroy trigger at another record or across tenants. The fix filters user-supplied arguments so they can no longer overwrite reserved trigger keys.
You are affected if you are using a version that falls within the vulnerable range and your application forwards user-controlled data into the :args option of a trigger.
ash_oban is vulnerable to Improperly Controlled Modification of Dynamically-Determined Object Attributes in versions 0.2.5 - 0.8.13.
Upgrade the ash_oban 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.