What’s Vulnerable › Vulnerabilities
CVE-2023-31141: OpenSearch issue with fine-grained access control during extremely rare race conditions
- Severity: medium (CVSS 5.9 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-05-08 · updated 2026-06-17
- Weakness: CWE-863
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
- AWS Opensearch: before 1.3.10; from 2.0.0 before 2.7.0 — fixed in 1.3.10, 2.7.0
- Amazon Opensearch Security: before 1.3.10; from 2.0.0 before 2.7.0 — fixed in 1.3.10, 2.7.0
How to fix
Upgrade to a fixed version: AWS Opensearch 1.3.10, 2.7.0; Amazon Opensearch Security 1.3.10, 2.7.0. Check the vendor advisory for mitigations.
References
- https://github.com/opensearch-project/security/security/advisories/GHSA-g8xc-6mf7-h28h
- https://github.com/opensearch-project/security/security/advisories/GHSA-g8xc-6mf7-h28h
Get alerted when CVE-2023-31141 or the next vulnerability affects your stack