amaliujia commented on code in PR #1596:
URL: https://github.com/apache/ratis/pull/1596#discussion_r4033234649
##########
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:
I am curious how do we acquire this list? Is there an official place to
check?
--
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]