On Wed, 18 Nov 2026 at 19:58, Andrew Lamb <[email protected]> wrote:
> > "incorrect data" is a bit confusing, are we saying that silently reading > data incorrectly is expected? I'm not sure I'd agree to that? > > This is a good point (and Divjot asked something similar here[1]). > > I was thinking that the data in a corrupted / incorrect / maliciously > crafted file doesn't have a well defined "correct" meaning. > > For example if the file has incorrect statistics and an engine used those > statistics to prune out rows "incorrectly" that would be bad (and a bug > for sure) but it wouldn't be a security vulnerability. > > I updated the wording slightly in the PR to incorporate this idea -- let > me know if it makes sense > Yes, that reads good now. Resource exhaustion is the big elephant in the room. It's quite a challenge to strictly limit memory consumption of a read to a given cap (and reject files which require more). So IIUC, most if not all readers rely on process-level isolation for this. I'm playing with some ideas around it, but perhaps leaving it to the process layer (e.g. by using dedicated containers per untrusted read) is the right choice after all. > > day [1], perhaps worth linking from there? > > Done > Perfect, thanks! Andrew > > [1]: > https://github.com/apache/parquet-site/pull/222#discussion_r4618687055 > > > > > On Wed, Nov 18, 2026 at 1:10 PM Gunnar Morling via dev < > [email protected]> wrote: > >> Hey, >> >> Good idea! Funny timing too, I created a similar page for Hardwood earlier >> today [1], perhaps worth linking from there? >> >> > reading a malformed or malicious file should result in an error or >> incorrect data >> >> "incorrect data" is a bit confusing, are we saying that silently reading >> data incorrectly is expected? I'm not sure I'd agree to that? >> >> Best, >> >> --Gunnar >> >> [1] https://github.com/hardwood-hq/hardwood/blob/main/SECURITY.md >> >> >> On Wed, 18 Nov 2026 at 17:55, Russell Spitzer <[email protected]> >> wrote: >> >> > Looks good to me. I just suggested adding a line about resource >> > exhaustion since I know the bots often find issues with that. >> > >> > On Wed, Nov 18, 2026 at 10:49 AM Andrew Lamb <[email protected]> >> > wrote: >> > >> > > Hello, >> > > >> > > It has been brought to our attention that the Parquet project as a >> whole >> > > does not have a security policy or threat model. Our current >> version[1] >> > > points people to the general purpose ASF docs. >> > > >> > > To this end, I have drafted a basic policy[2], copy/pasted below, that >> > > basically says treat parquet files as untrusted data. I would >> appreciate >> > > any feedback on this proposal -- I purposely tried to articulate what >> I >> > > believe is implicitly assumed rather than trying to define some new >> > policy >> > > we need agreement on. >> > > >> > > I also made a minor parquet-format PR that directs readers to the >> policy >> > on >> > > the main website[3] so we aren't maintaining multiple copies. >> > > >> > > Thank you for your attention, >> > > Andrew >> > > >> > > >> > > [1]: https://parquet.apache.org/docs/asf/security/ >> > > [2]: https://github.com/apache/parquet-site/pull/222 >> > > [3]: https://github.com/apache/parquet-format/pull/643 >> > > >> > > >> > > >> > > ----- >> > > -- Current proposal >> > > ----- >> > > >> > > >> > > This page describes the security policy of the Apache Parquet project. >> > > >> > > ## Reporting a Vulnerability >> > > >> > > Please report suspected vulnerabilities privately to the Apache >> Software >> > > Foundation (ASF) security team at >> > > [[email protected]](mailto:[email protected]), who will triage >> the >> > > report >> > > and coordinate with the relevant project. Do **not** file a public >> GitHub >> > > issue >> > > or pull request for a suspected vulnerability, as that would disclose >> it >> > > before >> > > a fix is available. >> > > >> > > The ASF vulnerability handling process is described at >> > > <https://www.apache.org/security/>. >> > > >> > > ## Security Model >> > > >> > > Parquet files are frequently exchanged between systems and >> organizations. >> > > Implementations should treat the contents of a file, both data and >> > > metadata, as >> > > untrusted input and validate it before use. Reading a malformed or >> > > malicious >> > > file should result in an error or incorrect data, not in memory >> > corruption, >> > > code >> > > execution, or disclosure of information from outside the file. >> > > >> > > Apache Parquet is a file format that is read and written by many >> > > independent >> > > implementations. Therefore, most security issues related to Parquet >> are >> > > specific >> > > to a particular implementation rather than the format, and you should >> > > consult >> > > the security policy for that implementation. For example: >> > > >> > > | Implementation | Security information | >> > > |----------------|----------------------| >> > > | [parquet-java] | [SECURITY.md]( >> > > https://github.com/apache/parquet-java/blob/master/SECURITY.md) | >> > > | Parquet C++ (part of [Apache Arrow]) | [Apache Arrow security]( >> > > https://arrow.apache.org/security/) | >> > > | [arrow-rs] (the Rust `parquet` crate) | [SECURITY.md]( >> > > https://github.com/apache/arrow-rs/blob/main/SECURITY.md) | >> > > >> > > [parquet-format]: https://github.com/apache/parquet-format >> > > [parquet-java]: https://github.com/apache/parquet-java >> > > [Apache Arrow]: https://arrow.apache.org/ >> > > [arrow-rs]: https://github.com/apache/arrow-rs >> > > >> > >> >
