You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Subbu (Jira)" <ji...@apache.org> on 2026/04/14 14:31:00 UTC

[jira] [Created] (KAFKA-20450) SafeObjectInputStream uses denylist based approach

Subbu created KAFKA-20450:
-----------------------------

             Summary: SafeObjectInputStream uses denylist based approach
                 Key: KAFKA-20450
                 URL: https://issues.apache.org/jira/browse/KAFKA-20450
             Project: Kafka
          Issue Type: Bug
            Reporter: Subbu


File : connect/runtime/src/main/java/org/apache/kafka/connect/util/SafeObjectInputStream.java 



The current SafeObjectInputStream uses a denylist based approach - having a fixed denylist to be validated against for deserialization. This is a bad security practise and has also been mentioned in the original PR.

We need to use allowlisting as a better security practise. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)