ash is vulnerable to Incorrect Behavior Order: Validate Before Canonicalize
21
Low Risk
The Ash.Type.CiString type checks max_length and match constraints against the raw input before case folding. Unicode case mapping is not length preserving, so a string that passes validation can grow during folding and exceed those constraints. This can overflow downstream columns or break invariants that rely on the constraint. The fix case-folds the value before checking the length and match constraints.
You are affected if you are using a version that falls within the vulnerable range and you use Ash.Type.CiString with length or match constraints together with case folding.
ash is vulnerable to Incorrect Behavior Order: Validate Before Canonicalize in versions 1.30.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.