AEAD finish function calls decrypt without checking the return value before comparing tags, potentially accepting unauthenticated inputs.
Rule Explorer
Search the public rule index by CVE, GHSA, CWE, language, framework, author, or rule slug. Filter by language, framework, severity, confidence, license, and validation status.
- Public rules
- 4797
- Downloads
- 12.4M
- Verified
- 4797
- Authors
- 2
`crypto_dispatch` return value only reflects dispatch status; cryptographic operation errors (such as MAC authentication failure) are recorded in `crp_etype`. Failing to check `crp_etype` can allow unauthenticated or forged ciphertexts to be processed.
When a dynamically generated atom (`String.to_atom/1`) is pinned in a pattern match inside a `case` statement, matching against structures with strings causes silent fall-through to the catch-all branch. In contexts like package resolution, this can silently bypass dependency signature and checksum evaluations, allowing tampered packages to be installed and
The middleware accesses `request_checksum_calculation` from global configuration without checking the command context, potentially bypassing required checksum validations.
A comparison using `zip` and `fold` was detected without a preceding length equivalence check. The `Iterator::zip` method stops when the shortest iterator is exhausted. If an attacker provides a partial input shorter than the expected input but matching its prefix, `zip` will successfully evaluate to true, causing an authentication or comparison bypass. Expl