Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Is This Bad? This Feels Bad. (Fortra GoAnywhere CVE-2025-10035). Parent comment
That means if the shape of your object is something like
class Foo implements Serializable { SerializableFunction bar; void doBar() { bar.apply(); } }
Here's an article detailing exactly how that works: https://www.baeldung.com/java-serialize-lambda
There are no comments on this comment yet.
That means if the shape of your object is something like
You've created a class which an attacker can plug in any object which implements `SerializableFunction` into `bar`. That includes externally created functions!Here's an article detailing exactly how that works: https://www.baeldung.com/java-serialize-lambda