logo

New Java 17 features for improved security and serialization

ID: 1b4264b8-add5-5ee4-af00-7c4dd6bdd8e9

STIX ID: report--1b4264b8-add5-5ee4-af00-7c4dd6bdd8e9

Feed Name: Snyk Blog

Threat Score
15/100

Date Published: 2021-10-21

Date Updated: 2026-09-15

...
...

This blog post examines Java deserialization risks and how Java 17 features — Records, context-specific deserialization filters via JEP 415 (SerialFilterFactory), and Java Flight Recorder deserialization events — improve the ability to detect and mitigate malicious deserialization and gadget-chain exploits, while recommending avoiding custom Java serialization when possible and upgrading to Java 17 to adopt these protections.

Your team is not currently subscribed to this feed. You must subscribe to it in order to see this post.