You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@logging.apache.org by "Mikael Ståldal (JIRA)" <ji...@apache.org> on 2017/06/29 15:53:00 UTC

[jira] [Resolved] (LOG4J2-1958) Deprecate SerializedLayout and remove it as default

     [ https://issues.apache.org/jira/browse/LOG4J2-1958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mikael Ståldal resolved LOG4J2-1958.
------------------------------------
    Resolution: Fixed

In Git master.

> Deprecate SerializedLayout and remove it as default
> ---------------------------------------------------
>
>                 Key: LOG4J2-1958
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1958
>             Project: Log4j 2
>          Issue Type: Task
>          Components: Appenders, Layouts
>    Affects Versions: 2.8.2
>            Reporter: Mikael Ståldal
>            Assignee: Mikael Ståldal
>             Fix For: 2.9
>
>
> Due to inherent security weakness of Java object serialization, see https://www.owasp.org/index.php/Deserialization_of_untrusted_data, we should deprecate SerializedLayout and discourage its use. We should also remove it as default from the appenders which currently has it:
> * SocketAppender
> * JmsAppender
> For the time being, we can recommend using JsonLayout as a replacement.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)