CVE-2023-31141 OpenSearch issue with fine-grained access control during extremely rare race conditions
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Ubuntu
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.
Upgrade path
5 packages: 3 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/opensearch(Ubuntu 24.04) | = 2.4.1+dfsg-2; All versions | No fix listed | No fix yet |
| Amazon opensearch | < 1.3.10; >= 2.0.0, < 2.7.0 | 1.3.10, 2.7.0 | Fixed |
| Amazon opensearch security | < 1.3.10; >= 2.0.0, < 2.7.0 | 1.3.10, 2.7.0 | Fixed |
| org.opensearch.plugin/opensearch-security(Maven) | = 2.1.0.0; = 2.2.0.0; = 2.2.1.0; = 2.3.0.0 +6 more | 1.3.10.0, 2.7.0.0 | Fixed |
| opensearch-project security | = >= 1.0.0, < 1.3.10; = >= 2.0.0, < 2.7.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.opensearch.plugin/opensearch-security(Maven) | >= 1.0.0, < 1.3.10.0 | 1.3.10.0 |
| org.opensearch.plugin/opensearch-security(Maven) | >= 2.0.0, < 2.7.0.0 | 2.7.0.0 |
| org.opensearch.plugin/opensearch-security(Maven) | = 2.1.0.0 | No fix listed |
| org.opensearch.plugin/opensearch-security(Maven) | = 2.2.0.0 | No fix listed |
| org.opensearch.plugin/opensearch-security(Maven) | = 2.2.1.0 | No fix listed |
| org.opensearch.plugin/opensearch-security(Maven) | = 2.3.0.0 | No fix listed |
| org.opensearch.plugin/opensearch-security(Maven) | = 2.4.0.0 | No fix listed |
| org.opensearch.plugin/opensearch-security(Maven) | = 2.4.1.0 | No fix listed |
| org.opensearch.plugin/opensearch-security(Maven) | = 2.5.0.0 | No fix listed |
| org.opensearch.plugin/opensearch-security(Maven) | = 2.6.0.0 | No fix listed |
| opensearch-project security | = >= 1.0.0, < 1.3.10 | No fix listed |
| opensearch-project security | = >= 2.0.0, < 2.7.0 | No fix listed |
| Amazon opensearch | < 1.3.10 | 1.3.10 |
| Amazon opensearch | >= 2.0.0, < 2.7.0 | 2.7.0 |
| Amazon opensearch security | < 1.3.10 | 1.3.10 |
| Amazon opensearch security | >= 2.0.0, < 2.7.0 | 2.7.0 |
| ubuntu/opensearch(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/opensearch(Ubuntu:24.04) | = 2.4.1+dfsg-2 | No fix listed |
References
- https://github.com/opensearch-project/security/security/advisories/GHSA-g8xc-6mf7-h28h issue-tracking vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking