GHSA-wmx7-x4jp-9jgg
OpenSearch has issue with fine-grained access control of indices backing data streams
Quick fix
GHSA-wmx7-x4jp-9jgg — org.opensearch.plugin:opensearch-security: upgrade to the fixed version with the command below.
# pom.xml: bump <version>1.3.7</version> for org.opensearch.plugin:opensearch-securityDetails
### Impact 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 indices that back data streams potentially leading to incorrect access authorization. This issue can only be triggered by authenticated users authorized to read those data streams which are backed by the impacted indexes. Additionally, existing privileged users cannot access random indexes within these clusters; they can only access indexes to which they have already been granted permission.
### Patches OpenSearch 1.3.7 and 2.4.0 contain a fix for this issue.
### Workarounds There is no recommended work around.
### For more information If 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. Please do not create a public GitHub issue.
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: 1.3.7# pom.xml: bump <version>1.3.7</version> for org.opensearch.plugin:opensearch-security2.0.0Fixed in: 2.4.0# pom.xml: bump <version>2.4.0</version> for org.opensearch.plugin:opensearch-securityReferences
- https://github.com/opensearch-project/security/security/advisories/GHSA-wmx7-x4jp-9jgg[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2022-41918[ADVISORY]
- https://github.com/opensearch-project/security/commit/f7cc569c9d3fa5d5432c76c854eed280d45ce6f4[WEB]
- https://github.com/opensearch-project/security[PACKAGE]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:maven/org.opensearch.plugin/opensearch-security"]}'