All rules →
Rules / Rust
SHIELD-RUST-007

Insecure deserialization of untrusted bytes

mediumRustCWE-502CVSS 6.5

What it detects

Deserializing attacker-controlled bytes with bincode/rmp without validation is risky.

How to fix

Validate and bound input, and prefer self-describing formats with strict schemas.

Scan your repo freeFull documentation
Back to all rules
SHIELD-RUST-007: Insecure deserialization of untrusted bytes — Zennoxa Shield