Description
Chroma 1.5.9 fails to validate maximum bounds on HNSW index parameters max_neighbors, ef_construction, and ef_search in collection-create requests. Unauthenticated attackers can supply arbitrarily large parameter values to exhaust server memory and cause denial of service during index compaction.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| chroma-core | chroma | ≤ 1.5.9 | — |
References
- GitHub Issue #7225 issue-tracking
- https://github.com/chroma-core/chroma product
- https://github.com/chroma-core/chroma/blob/1.5.9/rust/types/src/hnsw_configuration.rs technical-description
- https://github.com/chroma-core/chroma/blob/1.5.9/rust/frontend/src/auth/mod.rs technical-description
- VulnCheck Advisory: Chroma 1.5.9 Unbounded HNSW Index Parameters Memory Exhaustion third-party-advisory