[ 
https://issues.apache.org/jira/browse/KARAF-6353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16927805#comment-16927805
 ] 

ASF subversion and git services commented on KARAF-6353:
--------------------------------------------------------

Commit 1a75473eb41945bed235886efc771ff2abfb29cf in karaf's branch 
refs/heads/master from Jean-Baptiste Onofré
[ https://gitbox.apache.org/repos/asf?p=karaf.git;h=1a75473 ]

Merge pull request #933 from jbonofre/KARAF-6353

[KARAF-6353] Remove invalid command displayed in the log in shutdown socket

> Sanitize ShutdownSocketThread command log
> -----------------------------------------
>
>                 Key: KARAF-6353
>                 URL: https://issues.apache.org/jira/browse/KARAF-6353
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf
>            Reporter: Colm O hEigeartaigh
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: 4.3.0, 4.2.7
>
>
> In ShutdownSocketThread it logs an unsucessful command with:
> {code}
>  LOG.log(Level.WARNING, "Karaf shutdown socket:  Invalid command '" +
>                                       command.toString() + "' received");
> {code}
> Here we should make sure to sanitize the command.toString() output, as 
> otherwise it gives an attacker the opportunity to pollute the logs with CRLF 
> characters.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to