GHSA-g8xc-6mf7-h28h
OpenSearch issue with fine-grained access control during extremely rare race conditions
Quick fix
GHSA-g8xc-6mf7-h28h — org.opensearch.plugin:opensearch-security: upgrade to the fixed version with the command below.
# pom.xml: bump <version>1.3.10.0</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 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.
### Affected versions OpenSearch 1.0.0-1.3.9 and 2.0.0-2.6.0
### Patched versions OpenSearch 1.3.10 and 2.7.0
### 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
1.0.0Fixed in: 1.3.10.0# pom.xml: bump <version>1.3.10.0</version> for org.opensearch.plugin:opensearch-security2.0.0Fixed in: 2.7.0.0# pom.xml: bump <version>2.7.0.0</version> for org.opensearch.plugin:opensearch-securityReferences
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"]}'