6.5 MEDIUM
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): Low (L)
- User Interaction (UI): None (N)
- Scope (S): Unchanged (U)
- Confidentiality (C): None (N)
- Integrity (I): None (N)
- Availability (A): High (H)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): Low (L)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): None (N)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): None (N)
- Modified Availability (MA): High (H)
Activity log
- Created suggestion
Memory Allocation with Excessive Size Value in Elasticsearch Highlighting Leading to Denial of Service
Elasticsearch does not enforce an upper bound on a user-supplied count accepted by a search highlighting option, and the allocation derived from that count is not accounted against any circuit breaker. An authenticated user holding only read privileges on a single searchable index can submit one small search request that causes the node to reserve an excessively large internal data structure. The allocation occurs before the existing highlighting safety limits are evaluated, so memory exhaustion raises a fatal error that terminates the Elasticsearch node process. This results in a denial of service for the affected node and degrades cluster routing and health. The defect is not volumetric and does not depend on the size of the indexed data, so a single request is sufficient.
Affected products
- =<8.19.19
- =<9.5.0
Matching in nixpkgs
pkgs.elasticsearch
Open Source, Distributed, RESTful Search Engine
pkgs.elasticsearch7
Open Source, Distributed, RESTful Search Engine
pkgs.elasticsearch-curator
Curate, or manage, your Elasticsearch indices and snapshots
pkgs.gitlab-elasticsearch-indexer
Indexes Git repositories into Elasticsearch for GitLab
pkgs.python313Packages.elasticsearch
Official low-level client for Elasticsearch
pkgs.python314Packages.elasticsearch
Official low-level client for Elasticsearch
pkgs.python313Packages.elasticsearch8
Official low-level client for Elasticsearch
pkgs.python314Packages.elasticsearch8
Official low-level client for Elasticsearch
pkgs.elasticsearchPlugins.analysis-icu
ICU Analysis plugin integrates the Lucene ICU module into elasticsearch
pkgs.elasticsearchPlugins.search-guard
Elasticsearch plugin that offers encryption, authentication, and authorisation
-
nixos-unstable 7.17.27-53.10.0
- nixpkgs-unstable 7.17.27-53.10.0
- nixos-unstable-small 7.17.27-53.10.0
-
nixos-26.05 7.17.27-53.10.0
- nixos-26.05-small 7.17.27-53.10.0
- nixpkgs-26.05-darwin 7.17.27-53.10.0
pkgs.haskellPackages.log-elasticsearch
Structured logging solution (Elasticsearch back end)
pkgs.prometheus-elasticsearch-exporter
Elasticsearch stats exporter for Prometheus
pkgs.terraform-providers.elasticsearch
None
pkgs.elasticsearchPlugins.discovery-ec2
EC2 discovery plugin uses the AWS API for unicast discovery
pkgs.elasticsearchPlugins.repository-s3
S3 repository plugin adds support for using AWS S3 as a repository for Snapshot/Restore
pkgs.python313Packages.elasticsearchdsl
High level Python client for Elasticsearch
pkgs.python314Packages.elasticsearchdsl
High level Python client for Elasticsearch
pkgs.elasticsearchPlugins.repository-gcs
GCS repository plugin adds support for using Google Cloud Storage as a repository for Snapshot/Restore
pkgs.python313Packages.elasticsearch-dsl
High level Python client for Elasticsearch
pkgs.python314Packages.elasticsearch-dsl
High level Python client for Elasticsearch
pkgs.elasticsearchPlugins.analysis-smartcn
Smart Chinese Analysis plugin integrates Lucene Smart Chinese analysis module into Elasticsearch
pkgs.elasticsearchPlugins.analysis-kuromoji
Japanese (kuromoji) Analysis plugin integrates Lucene kuromoji analysis module into Elasticsearch
pkgs.elasticsearchPlugins.analysis-phonetic
Phonetic Analysis plugin integrates phonetic token filter analysis with elasticsearch
pkgs.haskellPackages.amazonka-elasticsearch
Amazon Elasticsearch Service SDK
-
nixos-unstable 2.0-unstable-2025-04-16
- nixpkgs-unstable 2.0-unstable-2025-04-16
- nixos-unstable-small 2.0-unstable-2025-04-16
-
nixos-26.05 2.0-unstable-2025-04-16
- nixos-26.05-small 2.0-unstable-2025-04-16
- nixpkgs-26.05-darwin 2.0-unstable-2025-04-16
pkgs.python313Packages.django-elasticsearch-dsl
Wrapper around elasticsearch-dsl-py for Django models
pkgs.python314Packages.django-elasticsearch-dsl
Wrapper around elasticsearch-dsl-py for Django models
pkgs.python313Packages.pysigma-backend-elasticsearch
Library to support Elasticsearch for pySigma
pkgs.python314Packages.pysigma-backend-elasticsearch
Library to support Elasticsearch for pySigma
pkgs.python313Packages.aliyun-python-sdk-elasticsearch
Module of Aliyun Python SDK (elasticsearch)
pkgs.python314Packages.aliyun-python-sdk-elasticsearch
Module of Aliyun Python SDK (elasticsearch)
Package maintainers
-
@basvandijk Bas van Dijk <v.dijk.bas@gmail.com>
-
@xanderio Alexander Sieg <alex@xanderio.de>
-
@e1mo Nina Fromm <nixpkgs@e1mo.de>
-
@yayayayaka Yaya <github@uwu.is>
-
@de11n Elliot Cameron <nixpkgs-commits@deshaw.com>
-
@despsyched Priyanshu Tripathi <priyanshu.tripathi@deshaw.com>
-
@onny Jonas Heinrich <onny@project-insanity.org>
-
@fabaff Fabian Affolter <mail@fabian-affolter.ch>