len548 opened a new pull request, #7767:
URL: https://github.com/apache/ozone/pull/7767

   ## What changes were proposed in this pull request?
   
   The `tag` variable can cause log injection because it does not sanitize 
untrusted data used for logging.
   An attacker can forge log content to prevent an organization from being able 
to trace back malicious activities.
   
   This change prevents it by altering carriage return (CR) and line feed (LF) 
characters if any.
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-11125
   ## How was this patch tested?
   N/A
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org
For additional commands, e-mail: issues-h...@ozone.apache.org

Reply via email to