{"id":"CVE-2023-31141","published":"2023-05-08T20:33:58Z","modified":"2025-01-29T14:54:25Z","title":"OpenSearch issue with fine-grained access control during extremely rare race conditions","vendor":"opensearch-project","product":"security","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00494,"percentile":0.35211,"provenance":"source"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://github.com/opensearch-project/security/security/advisories/GHSA-g8xc-6mf7-h28h","tags":["x_refsource_CONFIRM"]}],"priority":{"score":10.4,"factors":[{"name":"EPSS percentile","points":7.04},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"opensearch-project","affectedVersions":[{"vendor":"opensearch-project","product":"security","versions":[">= 1.0.0, < 1.3.10",">= 2.0.0, < 2.7.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-01-29T14:54:15.080834Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.opensearch.plugin:opensearch-security","vulnerableRanges":[">=1.0.0, <1.3.10.0",">=2.0.0, <2.7.0.0"],"patched":["1.3.10.0","2.7.0.0"],"from":["GHSA-g8xc-6mf7-h28h"],"provenance":"source"}],"summary":{"text":"The security plugin of the OpenSearch search and analytics suite, from opensearch-project, has an issue where fine-grained access control rules (document-level security, field-level security and field masking) are not always applied to queries, which can lead to incorrect access authorization. An attacker would need network access and low-privilege credentials, and the flaw is only triggered when two concurrent requests reach the same instance at the moment query cache eviction occurs, which is a rare timing condition.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:58:42Z"},"euvd":{"id":"EUVD-2023-1541","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-23612","published":"2023-01-24","fixed":"2.5.0","kev":false},{"cve":"CVE-2023-23613","published":"2023-01-24","fixed":"2.5.0","kev":false},{"cve":"CVE-2023-25806","published":"2023-03-02","fixed":"2.6.0","kev":false,"link":{"from":"CVE-2023-25806","to":"CVE-2023-31141","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.opensearch.plugin:opensearch-security","fromFixed":"1.3.9","toFixed":"1.3.10.0","daysApart":67},{"kind":"version-step","provenance":"source","package":"Maven:org.opensearch.plugin:opensearch-security","fromFixed":"2.6.0","toFixed":"2.7.0.0","daysApart":67}]}},{"cve":"CVE-2023-31141","published":"2023-05-08","fixed":"2.7.0.0","kev":false},{"cve":"CVE-2023-45807","published":"2023-10-16","fixed":"2.11.0.0","kev":false,"link":{"from":"CVE-2023-31141","to":"CVE-2023-45807","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.opensearch.plugin:opensearch-security","fromFixed":"1.3.10.0","toFixed":"1.3.14.0","daysApart":161},{"kind":"version-step","provenance":"source","package":"Maven:org.opensearch.plugin:opensearch-security","fromFixed":"2.7.0.0","toFixed":"2.11.0.0","daysApart":161}]}}],"package":"Maven:org.opensearch.plugin:opensearch-security"}}