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
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
chroma-core chroma
Default version status: unaffected
0 to ≤ 1.5.9affected
pkg:pypi/chromadbReferences
- https://github.com/chroma-core/chroma/issues/7225 ↗
- https://github.com/chroma-core/chroma ↗
- https://github.com/chroma-core/chroma/blob/1.5.9/rust/types/src/hnsw_configuration.rs ↗
- https://github.com/chroma-core/chroma/blob/1.5.9/rust/frontend/src/auth/mod.rs ↗
- https://www.vulncheck.com/advisories/chroma-1.5.9-unbounded-hnsw-index-parameters-memory-exhaustion ↗