{"id":"CVE-2023-23613","published":"2023-01-24T20:33:55Z","modified":"2025-03-10T21:20:32Z","title":"Field-level security issue with .keyword fields in OpenSearch","vendor":"opensearch-project","product":"security","tier":"tail","description":{"text":"OpenSearch is an open source distributed and RESTful search engine. In affected versions there is an issue in the implementation of field-level security (FLS) and field masking where rules written to explicitly exclude fields are not correctly applied for certain queries that rely on their auto-generated .keyword fields. This issue is only present for authenticated users with read access to the indexes containing the restricted fields. This may expose data which may otherwise not be accessible to the user. OpenSearch 1.0.0-1.3.7 and 2.0.0-2.4.1 are affected. Users are advised to upgrade to OpenSearch 1.3.8 or 2.5.0. Users unable to upgrade may write explicit exclusion rules as a workaround. Policies authored in this way are not subject to this issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00859,"percentile":0.59343,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/opensearch-project/security/security/advisories/GHSA-v3cg-7r9h-r2g6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/opensearch-project/OpenSearch/releases/tag/2.5.0","tags":["x_refsource_MISC"]}],"priority":{"score":15.9,"factors":[{"name":"EPSS percentile","points":11.87},{"name":"CVSS severity","points":3.99}]},"vendorSlug":"opensearch-project","affectedVersions":[{"vendor":"opensearch-project","product":"security","versions":[">= 2.0.0, < 2.5.0","< 1.3.8"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-10T20:59:33.987118Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.opensearch.plugin:opensearch-security","vulnerableRanges":["<1.3.8",">=2.0.0, <2.5.0"],"patched":["1.3.8","2.5.0"],"from":["GHSA-v3cg-7r9h-r2g6"],"provenance":"source"}],"summary":{"text":"The flaw is in the field-level security and field masking implementation of the OpenSearch security plugin, where explicit exclusion rules are not correctly enforced for certain queries that rely on auto-generated .keyword fields, in affected versions 1.0.0-1.3.7 and 2.0.0-2.4.1. An authenticated user with read access to indexes containing the restricted fields can exploit this through such queries to obtain data they would otherwise be denied, with no further conditions required beyond that access.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:30:59Z"},"euvd":{"id":"EUVD-2023-0551","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-35980","published":"2022-08-12","fixed":"2.2.0.0","kev":false},{"cve":"CVE-2022-41918","published":"2022-11-15","fixed":"2.4.0","kev":false,"link":{"from":"CVE-2022-41918","to":"CVE-2023-23613","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.opensearch.plugin:opensearch-security","fromFixed":"1.3.7","toFixed":"1.3.8","daysApart":70},{"kind":"version-step","provenance":"source","package":"Maven:org.opensearch.plugin:opensearch-security","fromFixed":"2.4.0","toFixed":"2.5.0","daysApart":70}]}},{"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},{"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}],"package":"Maven:org.opensearch.plugin:opensearch-security"}}