szetszwo commented on code in PR #1596:
URL: https://github.com/apache/ratis/pull/1596#discussion_r4033256001


##########
ratis-common/src/main/java/org/apache/ratis/util/IOUtils.java:
##########
@@ -61,36 +68,80 @@ public interface IOUtils {
       "org.apache.ratis."
   ));
 
-  static void assertPackageForObjectInputStream(String fullClassName) throws 
InvalidClassException {
+  private static final Set<String> DISALLOWED_CLASSES;
+  static {
+    // all the classes below are subjected to java deserialization 
vulnerabilities
+    final List<String> disallowed = Arrays.asList(

Review Comment:
   By best effort.  See the comments in 
[RATIS-2700](https://issues.apache.org/jira/browse/RATIS-2700).



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to