-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcheck_chromadb_security.sh
More file actions
executable file
·33 lines (27 loc) · 1.03 KB
/
Copy pathcheck_chromadb_security.sh
File metadata and controls
executable file
·33 lines (27 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/bash
# ChromaDB Security Update Checker
# Checks for new ChromaDB versions and security patches
echo "🔍 Checking ChromaDB version status..."
echo ""
# Current version in project
echo "📦 Current version in project:"
poetry show chromadb 2>/dev/null | grep "version" || echo " Could not detect version"
echo ""
# Latest available version
echo "📡 Latest available versions on PyPI:"
pip index versions chromadb 2>/dev/null | head -3 || echo " Could not check PyPI"
echo ""
# Check for GitHub advisory updates
echo "🚨 Security advisory: CVE-2026-45829"
echo " Status: No patch available yet"
echo " Check: https://github.com/advisories/GHSA-f4j7-r4q5-qw2c"
echo ""
echo "✅ Next steps:"
echo " 1. If a version > 1.5.9 is available, update immediately"
echo " 2. Run: poetry update chromadb"
echo " 3. Run: poetry lock"
echo " 4. Test the application after updating"
echo ""
echo "💡 To update ChromaDB when a patch is available:"
echo " poetry add \"chromadb>=1.6.0\" # Replace with patched version"
echo " poetry install"