Skip to content
OpenAdvisories
Medium · 5.7 CVE-2023-23613 EUVD-2023-0551GHSA-v3cg-7r9h-r2g6

Field-level security issue with .keyword fields in OpenSearch

Published Jan 24, 2023 · Updated Mar 10, 2025 · Assigned by GitHub_M

Description

OpenSearch is an open source distributed and RESTful search engine. In affected versions there is an issue in the implementation of field-level security (FLS) and field masking where rules written to explicitly exclude fields are not correctly applied for certain queries that rely on their auto-generated .keyword fields. This issue is only present for authenticated users with read access to the indexes containing the restricted fields. This may expose data which may otherwise not be accessible to the user. OpenSearch 1.0.0-1.3.7 and 2.0.0-2.4.1 are affected. Users are advised to upgrade to OpenSearch 1.3.8 or 2.5.0. Users unable to upgrade may write explicit exclusion rules as a workaround. Policies authored in this way are not subject to this issue.

Affected products

VendorProductAffectedFixed
opensearch-project security >= 2.0.0, < 2.5.0, < 1.3.8 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS opensearch No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.opensearch.plugin:opensearch-security < 1.3.8 1.3.8 GHSA-v3cg-7r9h-r2g6
Maven org.opensearch.plugin:opensearch-security >= 2.0.0, < 2.5.0 2.5.0 GHSA-v3cg-7r9h-r2g6

References