2.19.7
Added 2
- Added an upper bound for the hot_threads snapshots parameter, configurable via the monitor.jvm.hot_threads.max_snapshots cluster setting behavior changed · inferred, marked in the notes below
- Added search.query.max_query_nesting_depth setting to limit query_string parenthesis nesting depth and prevent StackOverflowError
Changed 7
- Capped max_determinized_states in completion suggester regex and fuzzy options to prevent heap exhaustion behavior changed · inferred, marked in the notes below
- Disabled Mustache partial template resolution in search templates behavior changed · inferred, marked in the notes below
- Out-of-range WLM node threshold updates are now rejected at validation time
- Bumped Jackson to 2.18.9 and Log4j to 2.25.5
- Bumped Bouncy Castle bc-fips to 2.1.3
- Updated Netty to 4.1.139.Final
- Updated bundled JDK to 21.0.12.1+1
Fixed 4
- Fixed unbounded recursion in JSON and binary deserialization that could cause StackOverflowError
- Strengthened scroll_id validation to prevent out-of-memory errors from crafted scroll IDs with oversized counts
- Validated base_path in the fs repository to prevent path traversal outside configured path.repo directories
- Fixed handling of unsupported zstd HTTP content encoding in netty4 and nio transports
Security 4
- Prevented StackOverflowError from unbounded query_string nesting and deserialization recursion
- Prevented heap exhaustion from unbounded completion suggester regex and fuzzy determinization
- Prevented path traversal in fs repository base_path outside configured path.repo directories
- Prevented out-of-memory from crafted scroll_id values with oversized counts
3 changes to check, marked in the notes below
From OpenSearch
Version 2.19.7 Release Notes
Compatible with OpenSearch and OpenSearch Dashboards version 2.19.7
Enhancements
- Add upper bound for the hot_threads
snapshotsparameter with configurablemonitor.jvm.hot_threads.max_snapshotscluster setting (#23144) behavior changed · inferred - Add
search.query.max_query_nesting_depthsetting to limit query_string parenthesis nesting depth and prevent StackOverflowError (#22854) - Cap
max_determinized_statesin completion suggester regex and fuzzy options to prevent heap exhaustion (#22925) behavior changed · inferred - Disable Mustache partial template resolution in search templates (#22440) behavior changed · inferred
- Reject out-of-range WLM node threshold updates at validation time (#22678)
Bug Fixes
- Fix unbounded recursion in JSON and binary deserialization that could cause StackOverflowError (#22427)
- Strengthen scroll_id validation to prevent OOM from crafted scroll IDs with oversized counts (#22401)
- Validate
base_pathin fs repository to prevent path traversal outside configuredpath.repodirectories (#22381) - Fix handling of unsupported zstd HTTP content encoding in netty4 and nio transports (#23324)