Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

chore(security): Document unfixable OS vulnerabilities in .trivyignore (#1467)

LearningCircuit55ae7e4f804d
diff --git a/.trivyignore b/.trivyignore
index 8d39258eca..d34aa64fa3 100644
--- a/.trivyignore
+++ b/.trivyignore
@@ -1,41 +1,75 @@
# Trivy vulnerability ignore file
# See: https://trivy.dev/docs/latest/configuration/filtering/
-
-# CVE-2021-4048: Out-of-bounds read in lapack *larrv functions (openblas)
-#
-# FALSE POSITIVE: The fix was backported to el8 packages.
-# Red Hat backported the CVE-2021-4048 fix to openblas 0.3.15-4 (June 2022).
-# Our version (0.3.15-6.el8) includes this backported fix.
-# See: https://www.rpmfind.net/linux/RPM/almalinux/8.10/powertools/x86_64/openblas-openmp-0.3.15-6.el8.x86_64.html
#
-# Trivy flags this as vulnerable because it compares against upstream fix
-# version (0.3.18+) without recognizing distribution-specific backports.
-CVE-2021-4048
+# Review Policy: All suppressions should be reviewed periodically.
+# Expiration dates use format: exp:YYYY-MM-DD (Trivy native syntax)
+# Last full review: 2026-02-23
+
+# =============================================================================
+# MITIGATED BY RUNTIME ENVIRONMENT
+# =============================================================================
# CVE-2025-8869: pip symbolic link extraction path traversal
+# Severity: MEDIUM (CVSS 5.9) - Not applicable when mitigated
#
# MITIGATED: This vulnerability only affects pip's fallback tar extraction
-# on Python versions that don't implement PEP 706 (Python < 3.12).
+# on Python versions that don't implement PEP 706. Safe versions:
+# Python >= 3.9.17, >= 3.10.12, >= 3.11.4, or >= 3.12 (all versions).
# This project uses Python 3.13 which implements PEP 706, so the vulnerable
# fallback code path is never executed.
#
-# Fix available in pip 25.3+, but not needed for Python 3.12+.
+# Fix available in pip 25.3+, but not needed for PEP 706-compliant Python.
# See: https://github.com/advisories/GHSA-4xh5-x5gv-qwph
CVE-2025-8869
-# GHSA-f83h-ghpp-7wcc: Insecure Deserialization in pdfminer.six CMap Loader
+# =============================================================================
+# DEBIAN OS-LEVEL CVEs (No fix available in bookworm)
+# =============================================================================
+
+# CVE-2025-14104: util-linux heap buffer overread in setpwnam()
+# Severity: MEDIUM (CVSS 6.1)
+# Review: 2026-07-01
#
-# ACKNOWLEDGED RISK: No upstream patch available as of December 2024.
-# pdfminer.six uses pickle to deserialize CMap files, allowing code execution
-# if attacker can write to CMAP_PATH directories.
+# UNFIXABLE IN BOOKWORM: Debian classified as "Minor issue", no DSA planned.
+# Exploitation requires 256-byte usernames (useradd enforces 32-char limit).
+# Container runs as non-root (ldruser) and doesn't use SUID utilities.
+# Fixed in: Debian Sid 2.41.3-3, Forky 2.41.3-2
+# Tracking: https://security-tracker.debian.org/tracker/CVE-2025-14104
+CVE-2025-14104 exp:2026-07-01
+
+# CVE-2025-59375: libexpat memory allocation DoS via small crafted XML
+# Severity: HIGH (CVSS 7.5)
+# Review: 2026-07-01
#
-# MITIGATIONS:
-# 1. CMap directories are in read-only site-packages in production
-# 2. Docker runs with restricted filesystem permissions
-# 3. No user input affects CMAP_PATH resolution
+# DEBIAN IGNORED: Classified as "Minor issue", no backport planned.
+# Allows disproportionately large memory allocations via small XML documents.
+# App doesn't process untrusted XML from external sources. DoS only.
+# Fixed in: libexpat 2.7.2 (bookworm has 2.5.0)
+# Tracking: https://security-tracker.debian.org/tracker/CVE-2025-59375
+CVE-2025-59375 exp:2026-07-01
+
+# CVE-2025-66382: libexpat DoS via 2MB crafted XML
+# Severity: LOW (CVSS 2.9)
+# Review: 2026-07-01
+#
+# NOT FIXED ANYWHERE: No upstream fix available yet. Debian marked "postponed".
+# App doesn't process large untrusted XML from external sources.
+# Tracking: https://security-tracker.debian.org/tracker/CVE-2025-66382
+CVE-2025-66382 exp:2026-07-01
+
+# CVE-2025-7709: SQLite FTS5 integer overflow
+# Severity: MEDIUM (CVSS 6.9)
+# Review: 2026-07-01
#
-# Monitoring: https://github.com/pdfminer/pdfminer.six/security/advisories/GHSA-f83h-ghpp-7wcc
-GHSA-f83h-ghpp-7wcc
+# DEBIAN NO-DSA: Classified as "Minor issue". Fixed in Sid 3.46.1-8.
+# Project uses SQLCipher for encrypted internal storage only.
+# FTS5 full-text search not exposed to untrusted input.
+# Tracking: https://security-tracker.debian.org/tracker/CVE-2025-7709
+CVE-2025-7709 exp:2026-07-01
+
+# =============================================================================
+# VENDORED DEPENDENCY
+# =============================================================================
# CVE-2026-24049: Path traversal in wheel (bundled in setuptools)
#