5.9

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

Modified
AliasesUBUNTU-CVE-2023-31141GHSA-g8xc-6mf7-h28h
Published 08-05-2023Last modified 29-01-2025

Vulnerability summary

CVE-2023-31141 is a medium (CVSS 5.9) Incorrect Authorization vulnerability in amazon opensearch. EPSS estimates a 0.46% chance of exploitation in the next 30 days, higher than 41.6% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 4.8, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.9/10
010
Medium · v3.1 (NVD)
EPSS score
0.46%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 08-05-2023
    PublishedVulnerability first disclosed.
  2. 29-01-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.46%

Chance of exploitation in the next 30 days

Percentile

42%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.46% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.

Amazon2 products
Opensearch-project1 product
  • security≥ 1.0.0, < 1.3.10 | ≥ 2.0.0, < 2.7.0
Org.opensearch.plugin1 product
  • opensearch-security≥ 1.0.0, < 1.3.10.0 | ≥ 2.0.0, < 2.7.0.0
Ubuntu1 product
  • opensearchAll versions (No fix recorded)

4 vendors · 5 products

References

5 links