ash is vulnerable to Improper Input Validation
21
Low Risk
Ash.Type.Decimal calls Decimal.parse/1 on string input and uses the result without checking that it is finite. Values such as Infinity, -Inf, or NaN parse and bypass declared min and max constraints, or raise unhandled exceptions downstream, on decimal attributes and arguments populated from untrusted input. The fix rejects non-finite decimal values during casting so they never pass validation.
You are affected if you are using a version that falls within the vulnerable range and you expose decimal attributes or arguments that accept string input over HTTP or JSON.
ash is vulnerable to Improper Input Validation in versions 1.28.0 - 3.32.1.
Upgrade the ash 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.