[ https://issues.apache.org/jira/browse/HDDS-2158?focusedWorklogId=315890&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-315890 ]
ASF GitHub Bot logged work on HDDS-2158: ---------------------------------------- Author: ASF GitHub Bot Created on: 20/Sep/19 19:07 Start Date: 20/Sep/19 19:07 Worklog Time Spent: 10m Work Description: hanishakoneru commented on pull request #1486: HDDS-2158. Fixing Json Injection Issue in JsonUtils. URL: https://github.com/apache/hadoop/pull/1486 JsonUtils#toJsonStringWithDefaultPrettyPrinter() does not validate the Json String before serializing it which could result in Json Injection. This method is mostly used along with JsonUtils#toJsonString() by first converting to String and then back to object. This can be avoided by directly writing the object through PrettyPrinter. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 315890) Remaining Estimate: 0h Time Spent: 10m > Fix Json Injection in JsonUtils > ------------------------------- > > Key: HDDS-2158 > URL: https://issues.apache.org/jira/browse/HDDS-2158 > Project: Hadoop Distributed Data Store > Issue Type: Bug > Reporter: Hanisha Koneru > Assignee: Hanisha Koneru > Priority: Major > Labels: pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > JsonUtils#toJsonStringWithDefaultPrettyPrinter() does not validate the Json > StringĀ before serializing it which could result in Json Injection. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org