CVE-2023-31141Amazon Opensearch
Medium 5.9 No auth needed
Follow: this CVE · Amazon · Amazon Opensearch We alert you by email or Slack (account required).
- Priority
- 50
- CVSS 3.1
- 5.9
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 35
- Auth required
- No
- Published
- May 8, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-863
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Opensearch.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.opensearch.plugin:opensearch-security |
≥ 1.0.0 < 1.3.10.0 |
1.3.10.0 |
— |
| Maven | org.opensearch.plugin:opensearch-security |
≥ 2.0.0 < 2.7.0.0 |
2.7.0.0 |
— |
Per OSV / GitHub Advisories (GHSA-g8xc-6mf7-h28h). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| amazon | opensearch | < 1.3.10 |
| amazon | opensearch | ≥ 2.0.0 < 2.7.0 |
| amazon | opensearch_security | < 1.3.10 |
| amazon | opensearch_security | ≥ 2.0.0 < 2.7.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Vendor Advisory