All rules →
Rules / Java
SHIELD-JAVA-004

Insecure Java Deserialization

criticalJavaCWE-502CVSS 9.8

What it detects

ObjectInputStream.readObject or readUnshared on untrusted data enables remote code execution.

How to fix

Avoid native serialization for untrusted data; use a safe format like JSON with strict type validation.

Scan your repo freeFull documentation
Back to all rules
SHIELD-JAVA-004: Insecure Java Deserialization — Zennoxa Shield