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
