Correct historical context of deserialization FAQ - #43
Merged
Conversation
The security FAQ claimed that the `SocketServer` receiver was never reintroduced into the Log4j 2 production codebase. This is inaccurate: `log4j-core` contained TCP and UDP socket servers inherited from Log4j 1 up to and including the 2.8.x releases. As any endpoint consuming serialized data, they were dangerous to use and resulted in CVE-2017-5645. The vulnerability was patched in 2.8.2 by introducing `FilteredObjectInputStream` as a Java 7 equivalent of the `ObjectInputFilter` API introduced in Java 9, but since the fix could not cover all cases the socket servers were removed in 2.9.0. This change corrects the section and expands it with this history, cross-linking the CVE-2017-5645 entry on the security page. Assisted-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GeV6uBXR77uZVnPAUUjF6n
ppkarwasz
enabled auto-merge (squash)
August 27, 2026 05:09
FreeAndNil
approved these changes
Aug 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The security FAQ claimed that the
SocketServerreceiver was never reintroduced into the Log4j 2 production codebase. This is inaccurate:log4j-corecontained TCP and UDP socket servers inherited from Log4j 1 up to and including the 2.8.x releases. As any endpoint consuming serialized data, they were dangerous to use and resulted in CVE-2017-5645. The vulnerability was patched in 2.8.2 by introducingFilteredObjectInputStreamas a Java 7 equivalent of theObjectInputFilterAPI introduced in Java 9, but since the fix could not cover all cases the socket servers were removed in 2.9.0.This change corrects the section and expands it with this history, cross-linking the CVE-2017-5645 entry on the security page.
🤖 Generated with Claude Code
https://claude.ai/code/session_01GeV6uBXR77uZVnPAUUjF6n