VDB
Sign up
MEDIUM6.3

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-security

Details

### 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

Maven/org.opensearch.plugin:opensearch-security
Introduced in: 0Fixed in: 1.3.7
Fix# pom.xml: bump <version>1.3.7</version> for org.opensearch.plugin:opensearch-security
Maven/org.opensearch.plugin:opensearch-security
Introduced in: 2.0.0Fixed in: 2.4.0
Fix# pom.xml: bump <version>2.4.0</version> for org.opensearch.plugin:opensearch-security

References

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"]}'