Vulnerability · Published May 8, 2023 · Assigned by GitHub_M
CVE-2023-31141OpenSearch issue with fine-grained access control during extremely rare race conditions
Medium 4.8
In plain English
A medium-severity incorrect authorization in security from opensearch-project. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.opensearch.plugin:opensearch-security | 1.3.10.0 | GHSA-g8xc-6mf7-h28h |
| Maven | org.opensearch.plugin:opensearch-security | 2.7.0.0 | GHSA-g8xc-6mf7-h28h |
| Ubuntu:24.04:LTS | opensearch | no fix listed | UBUNTU-CVE-2023-31141 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| opensearch-project | security | >= 1.0.0, < 1.3.10>= 2.0.0, < 2.7.0 |
Weakness: CWE-863 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N