SEZ9 commented on PR #11559: URL: https://github.com/apache/seatunnel/pull/11559#issuecomment-6995533130
Follow-up on the one open point in scope: the HIGH security finding about the unsafe Java deserialization pattern in `seatunnel-connectors-v2/connector-kafka/src/main/java/org/apache/seatunnel/connectors/seatunnel/kafka/source/KafkaSourceReader.java` (PR11559-F1). I can't mark it resolved yet. The thread notes an 11-04 reply that referred to earlier hardening, and that the restore decoder and its tests were since checked. Neither note, as I have it, states an explicit conclusion for this finding. To close it out, could you confirm the following: 1. **Current behaviour:** does the restore path in `KafkaSourceReader` still use Java native deserialization for restored state? If it does, what restricts the classes or payload the decoder will accept? 2. **Where the hardening landed:** which commit contains the change, so it can be verified directly? 3. **Test coverage:** which test or tests show that an unexpected or malformed restore payload is rejected rather than deserialized? 4. **If the pattern is kept on purpose:** why is the input trusted at that point? Once those are answered, this finding can be closed. <!-- streview-comment:2449 --> -- 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]
