Security Fixes
minimatch ReDoS (Dependabot #3, #6 — High severity)
- Vulnerability: Older
minimatchversions are susceptible to a Regular Expression Denial-of-Service (ReDoS) attack - Fix: Pinned
minimatchto^10.2.1via npmoverridesintests/bridge/package.jsonandtests/integration/package.json - Impact: Test infrastructure only; production runtime is not affected
PyPDF2 replaced with pypdf (Dependabot moderate — Infinite Loop)
- Vulnerability:
PyPDF2is abandoned and has a known infinite-loop vulnerability; no further security patches will be released upstream - Fix: Replaced
PyPDF2with its official maintained successorpypdfinpyproject.toml; updated all imports and API usage insrc/mcp_memory_service/ingestion/pdf_loader.py - Impact: PDF ingestion continues to work identically —
pypdfis the direct continuation ofPyPDF2by the same maintainer
Files Changed
pyproject.toml— dependency swap:PyPDF2→pypdfsrc/mcp_memory_service/ingestion/pdf_loader.py— updated imports/APItests/bridge/package.json+package-lock.json— pin minimatchtests/integration/package.json+package-lock.json— pin minimatchuv.lock— removespypdf2 v3.0.1, addspypdf v6.7.2
Upgrade
pip install --upgrade mcp-memory-serviceNo configuration changes required. No breaking changes.