cshannon commented on PR #4924:
URL: 
https://github.com/apache/activemq-artemis/pull/4924#issuecomment-2099159700

   > In general we have learned through a number of security reports that 
blindly creating any class instance is usually not the greatest idea. It would 
be beneficial to at least scope the class created to an instance of an expected 
type, the test seems to be creating Transformer types to validating that before 
newInstance somehow would be beneficial.
   
   The other big one that seems to pop up a lot is java serialization CVEs, 
basically the same issue... allowing instantiation of Java objects without 
validation that the type isn't something malicious


-- 
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