Skip to content

Cleanup SafeSerializationUtils to remove unused Guava classes#2

Open
cwperks wants to merge 1 commit into
mainfrom
filter-safe
Open

Cleanup SafeSerializationUtils to remove unused Guava classes#2
cwperks wants to merge 1 commit into
mainfrom
filter-safe

Conversation

@cwperks
Copy link
Copy Markdown
Owner

@cwperks cwperks commented May 19, 2026

Description

In SafeSerializationUtils, we previously allowlisted Guava classes when user attribute serialization was enabled but now switched to wrapping in HashMap. These classes are no longer required and can be safely removed.

Also adds ObjectInputFilter with maxdepth=10 to SafeObjectInputStream to limit deserialization depth.

Companion PR to opensearch-project/security#6152

  • Category (Enhancement, New feature, Bug fix, Test fix, Refactoring, Maintenance, Documentation)

Maintenance

Check List

  • New functionality includes testing
  • New functionality has been documented
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Craig Perkins <cwperx@amazon.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.

1 participant