pitrou opened a new pull request #9447:
URL: https://github.com/apache/arrow/pull/9447


   Flatbuffers is able to encode a virtually unbounded of schema fields in a 
small buffer size.
   Verifying that many fields with the Flatbuffers verifier seems to result in 
potentially
   unbounded verification times, which is a denial of service risk.
   
   To mitigate the risk, impose that a Flatbuffers buffer cannot represent one 
more than
   one Flatbuffers table per buffer bit, which should always be true for 
well-formed
   Arrow IPC metadata.  Indeed, the only recursive table, the `Field` table in 
Schema.fbs,
   mandates the presence of its `type` member (though it's not marked as 
required in
   the Flatbuffers definition, it's validated by the IPC read routines).


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to