Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

opensearch-project/opensearch
main @ c153e67
16
Fixes
11
CVEs
HIGH
Peak severity
6.3%
Coverage
Highlights
Denial of Service: 9 prior fixes. Scrutinize any change in this area.
sandbox/plugins/analytics-backend-datafusion: most-fixed (3 issues). Treat as high-risk during review.
4 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Denial of Service: Query cancellation mechanisms are highly prone to race conditions, leaks, and unreleased native memory. Cancelled execution fragments and uninitialized Apache Arrow memory buffers can bypass cleanup handles, leading to continuous CPU/memory consumption and JVM crashes.
Path Traversal: Path resolution mechanisms for local configuration files and spill directories can escape intended directory boundaries via relative paths or symbolic links, enabling arbitrary directory traversal or deletion.
Auth Bypass: Improper parsing of multi-source queries containing comma-separated index lists can cause fine-grained access control (FGAC) evaluations to skip checks, resulting in unauthorized data access.