This release includes 4 security fixes for security teams reviewing exposed deployments.
Topics
+14 more
Affected surfaces
Summary
AI summaryFixed markdown chunking bugs that caused code‑block comments and tiny header‑only chunks to be split incorrectly.
Full changelog
Fixes
Markdown Chunker (critical quality fix)
- Code-block protection:
# commentsinside code fences no longer split as markdown headers - Split by
##/###only:#(H1) was catching shell comments and code — now ignored - Min chunk size 100 chars: Header-only chunks (32-53 chars of junk) now merge with next section
- Result: c2-operations doc goes from 32 chunks (12 junk) → 17 chunks (0 junk)
New
- AAR category:
documents/aar/maps to category "aar" (was "general") - 14 CVE aliases: PrintNightmare↔CVE-2021-34527, EternalBlue↔MS17-010, PwnKit↔CVE-2021-4034, Log4Shell↔CVE-2021-44228, ZeroLogon↔CVE-2020-1472, PetitPotam, CertiFried, noPac, ProxyLogon, ProxyShell
Upgrade
pip install --upgrade knowledge-rag
After upgrade, run reindex_documents(full_rebuild=true) to reprocess all documents with the fixed chunker.
Full Changelog
https://github.com/lyonzin/knowledge-rag/compare/v3.1.0...v3.1.1
Security Fixes
- CVE-2021-34527
- CVE-2021-4034
- CVE-2021-44228
- CVE-2020-1472
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About lyonzin/knowledge-rag
Local RAG system for Claude Code with hybrid search (BM25 + semantic), cross-encoder reranking, markdown-aware chunking, query expansion, and 12 MCP tools. Runs entirely offline with zero external servers.
Related context
Beta — feedback welcome: [email protected]