wolfchimneyrock opened a new issue, #1020:
URL: https://github.com/apache/arrow-nanoarrow/issues/1020

   When decoding IPC stream with compressed body, a buffer is allocated with 
the declared uncompressed size and then the body is uncompressed into that 
buffer with no size limit - a compressed body that is actually larger than 
declared is thus a problem, and there are possible malicious compressed 
payloads that have no upper bound to their actual decompressed size - aka a 
"zip bomb".
   
   This requires us to wrap decoding with a complicated workaround to protect 
against this.  Instead, in the C decoder, have a per-message cap on the total 
decompressed size.  
   
   Open Question:
   
   - should this be exposed as a decoder-level setting or just implicitly done? 
if there is a decoder setting, should it also be exposed in python?


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