Allocation of Resources Without Limits or Throttlingorg.elasticsearch:elasticsearch is a Distributed, RESTful Search Engine.
Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the AbstractQueryBuilder.parseTopLevelQuery method, which builds the complete query object tree in memory before the maximum clause count is enforced on the shards. A user with search privileges can crash an Elasticsearch node by submitting a query containing an excessive number of clauses, which exhausts the node's heap while the query is parsed.
How to fix Allocation of Resources Without Limits or Throttling? Upgrade org.elasticsearch:elasticsearch to version 8.19.26, 9.4.10, 9.5.7 or higher.
| [8.19.0,8.19.26)[9.4.0,9.4.10)[9.5.0,9.5.7) |
Infinite looporg.elasticsearch:elasticsearch is a Distributed, RESTful Search Engine.
Affected versions of this package are vulnerable to Infinite loop in the sha256FromCompressed and crc32FromCompressed methods of CompressedXContent, which inflate already-compressed input until Inflater.finished() returns true and do not handle a truncated deflate stream, for which inflate() returns 0 with needsInput() true indefinitely. A user with the create_doc index privilege can occupy a request-processing thread at full CPU until the node is restarted by sending a POST _ingest/_simulate request whose component_template_substitutions or index_template_substitutions contain a mappings value set to a Base64 string of truncated deflate data, and repeated requests exhaust the node's request threads. On versions before 8.16.0, which lack these substitutions, the same input requires the manage_index_templates cluster privilege, through the component and index template APIs.
How to fix Infinite loop? Upgrade org.elasticsearch:elasticsearch to version 8.19.26, 9.4.10, 9.5.7 or higher.
| [7.16.0,8.19.26)[9.0.0-beta1,9.4.10)[9.5.0,9.5.7) |