Skip to content
OpenAdvisories
Medium · 4.8 CVE-2023-31141 EUVD-2023-1541GHSA-g8xc-6mf7-h28h

OpenSearch issue with fine-grained access control during extremely rare race conditions

Published May 8, 2023 · Updated Jan 29, 2025 · Assigned by GitHub_M

Description

OpenSearch is open-source software suite for search, analytics, and observability applications. Prior to versions 1.3.10 and 2.7.0, there is an issue with the implementation of fine-grained access control rules (document-level security, field-level security and field masking) where they are not correctly applied to the queries during extremely rare race conditions potentially leading to incorrect access authorization. For this issue to be triggered, two concurrent requests need to land on the same instance exactly when query cache eviction happens, once every four hours. OpenSearch 1.3.10 and 2.7.0 contain a fix for this issue.

Affected products

VendorProductAffectedFixed
opensearch-project security >= 1.0.0, < 1.3.10, >= 2.0.0, < 2.7.0 —

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.0.0, < 1.3.10.0 1.3.10.0 GHSA-g8xc-6mf7-h28h
Maven org.opensearch.plugin:opensearch-security >= 2.0.0, < 2.7.0.0 2.7.0.0 GHSA-g8xc-6mf7-h28h

References