ash is vulnerable to Integer Overflow or Wraparound
59
Medium Risk
Ash.Vector.new/1 writes the element count into a 16-bit unsigned header without checking that the list length fits. Lists longer than 65,535 elements truncate the stored dimension and corrupt the encoded vector. Every later read of the corrupted value raises a MatchError, leading to a persistent denial of service for that record. The fix rejects vectors whose dimension exceeds the 65,535 element limit.
You are affected if you are using a version that falls within the vulnerable range and you accept externally supplied vector values through Ash.Vector.
ash is vulnerable to Integer Overflow or Wraparound in versions 2.14.13 - 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.