Description
Meilisearch before 1.55.1 and 1.56.x before 1.56.1 contains a quadratic memory consumption vulnerability in filter-parser that allows attackers with a search API key to exhaust server memory. Attackers can send a roughly 100 KB filter, such as a _geoPolygon with thousands of coordinates, to the search endpoint, crashing the server and taking all indexes offline.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| meilisearch | meilisearch | < 1.55.1, 1.56.0 – < 1.56.1 | 1.55.1 |
References
- https://github.com/meilisearch/meilisearch/pull/6695 issue-tracking patch
- https://github.com/meilisearch/meilisearch/commit/5ec13cf578494a771e2239a8cee1ca6be0e042a5 patch
- meilisearch v1.55.1 Release Notes release-notes
- meilisearch v1.56.1 Release Notes release-notes
- https://github.com/meilisearch/meilisearch/blob/v1.53.1/crates/filter-parser/src/lib.rs#L176-L182 technical-description
- VulnCheck Advisory: Meilisearch before 1.55.1 and 1.56.x before 1.56.1 Denial of Service via filter-parser Quadratic Memory Consumption third-party-advisory