CVE-2023-31141
MEDIUM 5.9CVSS 3.1OpenSearch issue with fine-grained access control during extremely rare race conditions
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.
- Published
- 8 May 2023
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-863
- Also known as
- GHSA-g8xc-6mf7-h28h
- Sources
- NVDJSONOSV GHSA-g8xc-6mf7-h28hJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | amazon | opensearchcpe:2.3:a:amazon:opensearch:*:*:*:*:*:docker:*:* |
< 1.3.10 | 1.3.10 |
| NVD | amazon | opensearchcpe:2.3:a:amazon:opensearch:*:*:*:*:*:docker:*:* |
>= 2.0.0, < 2.7.0 | 2.7.0 |
| NVD | amazon | opensearch_securitycpe:2.3:a:amazon:opensearch_security:*:*:*:*:*:*:*:* |
< 1.3.10 | 1.3.10 |
| NVD | amazon | opensearch_securitycpe:2.3:a:amazon:opensearch_security:*:*:*:*:*:*:*:* |
>= 2.0.0, < 2.7.0 | 2.7.0 |
| OSV | Maven | org.opensearch.plugin:opensearch-security | >= 1.0.0, < 1.3.10.0 | 1.3.10.0 |
| OSV | Maven | org.opensearch.plugin:opensearch-security | >= 2.0.0, < 2.7.0.0 | 2.7.0.0 |
References
- https://github.com/opensearch-project/security/security/advisories/GHSA-g8xc-6mf7-h28h · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-31141 · ADVISORY
- https://github.com/opensearch-project/security · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 8 May 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 9 May 2023)