Harden log4net against the findings of a security audit - #309
Closed
FreeAndNil wants to merge 1 commit into
Closed
Conversation
make log4net usable from a PublishAOT build (#306)
FreeAndNil
added a commit
that referenced
this pull request
Aug 18, 2026
Appenders: network and transport - 2fb4539 time out writes to stalled TelnetAppender clients - 15d16ee add a listen address to TelnetAppender - bd35fe0 add a TransportSecurity option to the MailKit SmtpAppender Appenders: syslog record integrity - eccb876 escape NUL characters in LocalSyslogAppender messages - 46582e5 report a RemoteSyslogAppender Identity that would split the record - 360a102 fix the lifetime of the LocalSyslogAppender identity AdoNet appender - 9f5c955 contain per-event failures in AdoNetAppender.SendBuffer - 19fdb4a warn when AdoNetAppender executes layout-generated SQL - e80b381 redact the password when reporting a failed database connection Reliability and resource bounds - 3fd97cb bound the waits for the file locking mutexes - 394fd3d bound regular expression matching in the string match filters - 86ecb15 flush TextWriterAppender under the appender lock - 1786b13 keep the impersonated user name when a logging event is fixed Diagnostics - ecd1b8b report the first appender error without log4net.Internal.Debug Build and release infrastructure - 9cc34d2 make the release verification scripts fail closed - 28d411a pin the Maven wrapper and distribution downloads - e203b7c remove the git-broadcast workflow Documentation - 6bc3df3 document that configuration is trusted input - 287fa9c document that format strings are trusted developer input - dc17e1b document the conventions the security scan work relied on (#309) Notes for reviewers Several commits introduce secure defaults with a named opt-out (SendTimeoutMillis, MatchTimeoutMillis, LockTimeoutMillis); those are behaviour changes on upgrade and are recorded in the changelog. The documentation commits deliberately settle recurring reports in the threat model rather than changing code.
pull Bot
pushed a commit
to jnnycn007/logging-log4net
that referenced
this pull request
Aug 18, 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.
Appenders: network and transport
Appenders: syslog record integrity
AdoNet appender
Reliability and resource bounds
Diagnostics
Build and release infrastructure
Documentation
Notes for reviewers
Several commits introduce secure defaults with a named opt-out (SendTimeoutMillis, MatchTimeoutMillis, LockTimeoutMillis); those are behaviour changes on upgrade and are recorded in the changelog. The documentation commits deliberately settle recurring reports in the threat model rather than changing code.