Ir al contenido

Insecure Deserialization (ARCH8109)

Esta página aún no está disponible en tu idioma.

Key kotlin.security.insecure-deserialization · Severity critical · Category security · CWE CWE-502

Flags ObjectInputStream.readObject and other gadget-capable deserialisers used on untrusted data.

val obj = ObjectInputStream(input).readObject()
val obj = json.decodeFromString<Payload>(input)

Use a data-only format (JSON with an explicit schema) or an allowlisting ObjectInputFilter.