CVE-2023-31141: OpenSearch issue with fine-grained access control during extremely rare race conditions
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.
Not severe (CVSS 4.8, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 08-05-2023PublishedVulnerability first disclosed.
- 29-01-2025Last 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- CVE.orgCNA4.8MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:NDiffers
- OSV · UbuntuEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · MavenEcosystem advisory · calculated4.8MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:NDiffers
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
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Amazon2 products
- opensearch< 1.3.10 | ≥ 2.0.0, < 2.7.0
- opensearch_security< 1.3.10 | ≥ 2.0.0, < 2.7.0
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- github.com/opensearch-project/security/security/advisories/GHSA-g8xc-6mf7-h28hX Refsource CONFIRMREPORTWEBVendor Advisory