Skip to content

Fix authorization bypass in stashContext() (backport #1760 to 2.x) - #1769

Open
vikhy-aws wants to merge 1 commit into
opensearch-project:2.xfrom
vikhy-aws:backport-fix-auth-bypass-2.x
Open

Fix authorization bypass in stashContext() (backport #1760 to 2.x)#1769
vikhy-aws wants to merge 1 commit into
opensearch-project:2.xfrom
vikhy-aws:backport-fix-auth-bypass-2.x

Conversation

@vikhy-aws

Copy link
Copy Markdown
Collaborator

Summary

Backport of #1760.

Fixes authorization bypass vulnerabilities where stashContext() drops the caller's security context before accessing caller-controlled indices or executing caller-supplied queries.

Changes from main

  • Import path adjustments for 2.x API conventions

… permission checks and blocking cross-index terms lookup queries (backport opensearch-project#1760)

Signed-off-by: vikhy-aws <191836418+vikhy-aws@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants