SEZ9 commented on PR #11559:
URL: https://github.com/apache/seatunnel/pull/11559#issuecomment-6936354121

   @davidzollo thanks for the update on `ecbb118a`. I'm keeping this reply to 
the one finding still open from the previous review: the HIGH security item 
about the unsafe Java deserialization pattern in 
`seatunnel-connectors-v2/connector-kafka/src/main/java/org/apache/seatunnel/connectors/seatunnel/kafka/source/KafkaSourceReader.java`.
   
   Your follow-up describes the `IncrementalSource` reconciliation and the 
validation fixture change, and the re-check of this head lists the same deltas 
plus two e2e container helper classes. Neither mentions `KafkaSourceReader`, so 
as far as I can tell this push does not change the status of that finding. The 
thread refers to an earlier hardening answer on it, but the text I have is cut 
off, so I can't confirm what was done.
   
   To close it or keep it open on facts, could you state the following for the 
current head:
   
   1. **What is deserialized:** which data goes through Java deserialization in 
`KafkaSourceReader`, and where it comes from (self-written state only, or 
anything that can originate outside the engine).
   2. **What restricts it:** whether the accepted classes are limited in any 
way, and where that restriction lives in the code. If there is none, please say 
so plainly.
   3. **Coverage:** whether a test shows an unexpected class being rejected. If 
not, please add one or explain why it isn't applicable.
   4. **Your position:** if you consider the pattern safe as it stands, the 
reasoning in a sentence or two is enough for a decision.
   
   Until I have those answers, I'm treating the finding as open.
   
   <!-- streview-comment:2392 -->


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