novatechflow commented on PR #838: URL: https://github.com/apache/wayang/pull/838#issuecomment-6463805004
Thanks, the previous three issues are fixed. One security issue comes with the new type header: `WayangValue.read()` takes the class name from the stream and uses it as the expected type for a fresh instance. The filter then allows that class. So the input itself decides which class to trust. Reproduced on Java 17: an otherwise rejected custom class executes its `readObject()` hook. The expected type needs to come from trusted configuration or an allowlist, rather than the stream. Please add a regression test for this case. -- 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]
