You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tsfile.apache.org by ha...@apache.org on 2026/09/04 03:38:56 UTC
(tsfile) branch codex/refine-security-model created (now 2a5af68fb)
This is an automated email from the ASF dual-hosted git repository.
HTHou pushed a change to branch codex/refine-security-model
in repository https://gitbox.apache.org/repos/asf/tsfile.git
at 2a5af68fb docs: clarify security issue classification
This branch includes the following new commits:
new 2a5af68fb docs: clarify security issue classification
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(tsfile) 01/01: docs: clarify security issue classification
Posted by ha...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
HTHou pushed a commit to branch codex/refine-security-model
in repository https://gitbox.apache.org/repos/asf/tsfile.git
commit 2a5af68fb313f3437cc24e174577fcff07f55462
Author: HTHou <ha...@apache.org>
AuthorDate: Fri Sep 4 11:38:44 2026 +0800
docs: clarify security issue classification
---
SECURITY.md | 22 ++++++++++++----------
1 file changed, 12 insertions(+), 10 deletions(-)
diff --git a/SECURITY.md b/SECURITY.md
index 7c8506ce6..e5db21a2b 100644
--- a/SECURITY.md
+++ b/SECURITY.md
@@ -69,10 +69,10 @@ pointers or violating an API's ownership and lifetime requirements is outside th
### Reading Untrusted Files
-A malformed or unsupported file may be rejected at any point. Parsing an untrusted file should not
-result in arbitrary code execution, memory corruption, access to memory outside the supplied
-buffers, disclosure of unrelated process data, or reads or writes outside resources selected by the
-caller.
+Processing an attacker-controlled file is security-relevant when it results in arbitrary code
+execution, exploitable memory corruption, disclosure of unrelated process data, or access outside
+resources selected by the caller. A malformed or unsupported file may otherwise be rejected at any
+point.
TsFile is optimized for large time-series datasets and supports compression. A valid or maliciously
crafted file may require substantial CPU time, memory, or output space. Applications that accept
@@ -80,10 +80,12 @@ files from untrusted sources should impose limits appropriate to their environme
size, decompressed size, memory, processing time, concurrency, and result size. Applications with a
strong isolation requirement should parse untrusted files in a suitably restricted process.
-Resource consumption proportional to the input or its declared decompressed size, or a clean error
-while parsing malformed input, is normally a robustness issue rather than a vulnerability. Reports
-that demonstrate disproportionate resource amplification or a meaningful availability impact
-across an actual untrusted boundary may be security issues and will be evaluated case by case.
+A clean error while parsing malformed input, or a crash, assertion failure, out-of-memory condition,
+or sanitizer finding without a demonstrated security-boundary impact, is normally a robustness
+issue rather than a vulnerability. The same applies to resource consumption proportional to the
+input or its declared decompressed size. Reports that demonstrate disproportionate resource
+amplification or a meaningful availability impact across an actual untrusted boundary may be
+security issues and will be evaluated case by case.
### Configuration and Optional Implementations
@@ -106,8 +108,8 @@ the responsibility of the embedding application and its deployment environment.
Examples of findings that should be reported privately include:
-* arbitrary code execution or memory corruption while processing attacker-controlled input;
-* out-of-bounds access that exposes unrelated process data;
+* arbitrary code execution while processing attacker-controlled input;
+* exploitable memory corruption or out-of-bounds access that exposes unrelated process data;
* reads or writes outside caller-designated resources caused by serialized file contents;
* bypass of a documented security guarantee; and
* remotely triggerable denial of service with significant, disproportionate impact.