OpenSearch 2.19.7

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
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 snapshots parameter with configurable monitor.jvm.hot_threads.max_snapshots cluster setting (#23144) behavior changed · inferred
  • Add search.query.max_query_nesting_depth setting to limit query_string parenthesis nesting depth and prevent StackOverflowError (#22854)
  • Cap max_determinized_states in 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_path in fs repository to prevent path traversal outside configured path.repo directories (#22381)
  • Fix handling of unsupported zstd HTTP content encoding in netty4 and nio transports (#23324)
Maintenance
View original

Upgraded? How did it go?

Discussion