Skip to content
OpenAdvisories

Package · crates.io

codeq

1 known vulnerabilities.

1 result · Clear filters · Feed

  • Medium 5.3

    `codeq`: decoding untrusted input can allocate memory from an unchecked length prefix (denial of service)

    `codeq` is a serialization library whose `Decode` trait reads length-prefixed values. For `String` and `Vec<u8>`, the length-prefixed `Decode` implementations read a 4-byte big-endian length and allocate a buffer of that size **before** reading the payload. B…