log4net is vulnerable to Improper Neutralization of Null Byte causing debug-output truncation
50
CVE Score
Medium
Improper Neutralization of Null Byte causing debug-output truncation
log4net's OutputDebugStringAppender.Append passes the string rendered by the configured layout to the native OutputDebugString API. Because that API treats the string as null-terminated, a NUL in the rendered logging event ends the debug output at that point, so trailing fields and exception text after the NUL are dropped. The fix escapes each NUL through NativeStringEscape.EscapeNulCharacters before the native call.
Upgrade the log4net library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and you have configured OutputDebugStringAppender on Windows.
1.2.10 - 3.4.0
Fixed in 3.5.0log4net is vulnerable to Improper Neutralization of Null Byte causing debug-output truncation in versions 1.2.10 - 3.4.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.