Hi all,

The Apache Logging Services security team received a report about 
Rfc5424Layout. We do not consider it a vulnerability and are publishing this 
summary in line with our reporting guidelines.

Report: when Rfc5424Layout is configured with useTlsMessageFormat="true" and a 
charset other than UTF-8, the RFC 5425 MSG-LEN prefix is computed in UTF-8 
while the record is written in the configured charset. Records containing 
non-ASCII characters therefore carry a wrong length, and an RFC 5425 receiver 
loses the frame boundaries.

Assessment: this is a bug, not a vulnerability. It requires a non-default 
charset chosen by the operator, and it would be visible immediately to anyone 
using that configuration. The default charset (UTF-8) and the Syslog appender 
are not affected. If you use Rfc5424Layout with TLS framing, keep the default 
UTF-8 charset.

The bug will be fixed in a future release.

Thanks to fizzbeom for the report.

Ramanathan Muthu
on behalf of the Apache Logging Services security team


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to