{"id":"CVE-2023-23613","aliases":["CVE-2023-23613","GHSA-v3cg-7r9h-r2g6"],"related":[],"kind":"vulnerability","state":"published","title":"Field-level security issue with .keyword fields in OpenSearch","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### Advisory title: Field-level security issue with .keyword fields\n\n### Affected versions:\nOpenSearch 1.0.0-1.3.7 and 2.0.0-2.4.1\n\n### Patched versions:\nOpenSearch 1.3.8 and 2.5.0\n\n### Impact:\nThere 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.\n\nThis issue is only present for authenticated users with read access to the indexes containing the restricted fields.\n\n### Workaround:\nFLS rules that use explicit exclusions can be written to grant explicit access instead. Policies authored in this way are not subject to this issue.\n\n### Patches:\nOpenSearch versions 1.3.8 and 2.5.0 contain a fix for this issue.\n\n### For more information:\nIf you have any questions or comments about this advisory, please contact AWS/Amazon Security via our issue reporting page (https://aws.amazon.com/security/vulnerability-reporting/) or directly via email to [aws-security@amazon.com](mailto:aws-security@amazon.com). Please do not create a public GitHub issue.","format":"markdown","source":"ghsa"},{"lang":"es","text":"OpenSearch es un motor de búsqueda RESTful y distribuido de código abierto. En las versiones afectadas hay un problema en la implementación de la seguridad a nivel de campo (FLS) y el enmascaramiento de campos donde las reglas escritas para excluir campos explícitamente no se aplican correctamente para ciertas consultas que dependen de sus campos .keyword generados automáticamente. Este problema solo está presente para usuarios autenticados con acceso de lectura a los índices que contienen los campos restringidos. Esto puede exponer datos a los que de otra manera el usuario no podría acceder. OpenSearch 1.0.0-1.3.7 y 2.0.0-2.4.1 se ven afectados. Se recomienda a los usuarios que actualicen a OpenSearch 1.3.8 o 2.5.0. Los usuarios que no puedan actualizar pueden escribir reglas de exclusión explícitas Como workaround. Las políticas creadas de esta manera no están sujetas a esta cuestión.","source":"nvd"}],"published":"2023-01-24T20:33:55.673Z","modified":"2026-09-10T03:49:51.742Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","score":5.7,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","score":5.7,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","score":5.7,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-200"],"affected":[{"ranges":[{"version":">= 2.0.0, < 2.5.0","status":"affected"},{"version":"< 1.3.8","status":"affected"}],"vendor":"opensearch-project","product":"security","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.3.8"}],"ecosystem":"Maven","package":"org.opensearch.plugin:opensearch-security","purl":"pkg:maven/org.opensearch.plugin/opensearch-security","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.0.0","status":"affected","fixed":"2.5.0"}],"ecosystem":"Maven","package":"org.opensearch.plugin:opensearch-security","purl":"pkg:maven/org.opensearch.plugin/opensearch-security","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"1.0.0","fixed":"1.3.8"},{"status":"affected","introduced":"2.0.0","fixed":"2.5.0"}],"vendor":"amazon","product":"opensearch","cpe":"cpe:2.3:a:amazon:opensearch:*:*:*:*:*:-:*:*","source":"nvd"}],"references":[{"url":"https://github.com/opensearch-project/security/security/advisories/GHSA-v3cg-7r9h-r2g6","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/opensearch-project/OpenSearch/releases/tag/2.5.0","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-23613","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/opensearch-project/security","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-03-10T20:59:33.987Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-23613","url":"https://www.cve.org/CVERecord?id=CVE-2023-23613","licence":"CVE Terms of Use","modified":"2025-03-10T21:20:32.391Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-v3cg-7r9h-r2g6","url":"https://github.com/advisories/GHSA-v3cg-7r9h-r2g6","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:51.742Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-23613","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-23613","licence":"Public domain","modified":"2026-06-17T05:37:35.063Z"}],"updatedAt":"2026-11-25T22:58:21.730Z","epss":{"score":0.00759,"percentile":0.51554,"date":"2026-11-30T12:00:22.000Z"}}