Vulnerability · Published May 8, 2023 · Assigned by GitHub_M

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

Medium 4.8

In plain English

A medium-severity incorrect authorization in security from opensearch-project. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.8Medium
Exploit odds (30 days)0.5%top 59.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.opensearch.plugin:opensearch-security1.3.10.0GHSA-g8xc-6mf7-h28h
Mavenorg.opensearch.plugin:opensearch-security2.7.0.0GHSA-g8xc-6mf7-h28h
Ubuntu:24.04:LTSopensearchno fix listedUBUNTU-CVE-2023-31141

Affected products (as reported)

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

Weakness: CWE-863 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N

References