ash_double_entry is vulnerable to Improper Handling of Alternate Encoding
63
Medium Risk
AshDoubleEntry.ULID decode/1 masks the first Crockford base32 character of a 26-character ULID to its low 3 bits, and valid?/1 accepts all 32 characters in that position, so distinct spellings beginning with 0, 8, G, or R decode to the same 128-bit value and look up the same record. User supplied identifiers can alias one record under multiple textual forms, bypassing string level checks such as idempotency keys and signatures over the submitted ID. The fix rejects any ULID whose first character decodes above 7, so each identifier has one accepted encoding.
You are affected if you are using a version that falls within the vulnerable range and you accept these ULIDs from untrusted input.
ash_double_entry is vulnerable to Improper Handling of Alternate Encoding in versions 0.1.0 - 1.0.18.
Upgrade the ash_double_entry 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.