[jira] [Work logged] (HDDS-2341) Validate tar entry path during extraction
[ https://issues.apache.org/jira/browse/HDDS-2341?focusedWorklogId=334242&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-334242 ] ASF GitHub Bot logged work on HDDS-2341: Author: ASF GitHub Bot Created on: 25/Oct/19 17:22 Start Date: 25/Oct/19 17:22 Worklog Time Spent: 10m Work Description: arp7 commented on pull request #72: HDDS-2341. Validate tar entry path during extraction URL: https://github.com/apache/hadoop-ozone/pull/72 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: 334242) Time Spent: 20m (was: 10m) > Validate tar entry path during extraction > - > > Key: HDDS-2341 > URL: https://issues.apache.org/jira/browse/HDDS-2341 > Project: Hadoop Distributed Data Store > Issue Type: Improvement >Reporter: Attila Doroszlai >Assignee: Attila Doroszlai >Priority: Major > Labels: pull-request-available > Fix For: 0.5.0 > > Time Spent: 20m > Remaining Estimate: 0h > > Containers extracted from tar.gz should be validated to confine entries to > the archive's root directory. -- 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
[jira] [Work logged] (HDDS-2341) Validate tar entry path during extraction
[ https://issues.apache.org/jira/browse/HDDS-2341?focusedWorklogId=331859&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-331859 ] ASF GitHub Bot logged work on HDDS-2341: Author: ASF GitHub Bot Created on: 22/Oct/19 08:20 Start Date: 22/Oct/19 08:20 Worklog Time Spent: 10m Work Description: adoroszlai commented on pull request #72: HDDS-2341. Validate tar entry path during extraction URL: https://github.com/apache/hadoop-ozone/pull/72 ## What changes were proposed in this pull request? Add a check to verify tar entries during extraction: they should not be able to escape (by using `../` or absolute directory names) from the expected archive directory. https://issues.apache.org/jira/browse/HDDS-2341 ## How was this patch tested? Added unit test. Verified in docker-compose cluster that container replication still works normally. 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: 331859) Remaining Estimate: 0h Time Spent: 10m > Validate tar entry path during extraction > - > > Key: HDDS-2341 > URL: https://issues.apache.org/jira/browse/HDDS-2341 > Project: Hadoop Distributed Data Store > Issue Type: Improvement >Reporter: Attila Doroszlai >Assignee: Attila Doroszlai >Priority: Major > Labels: pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > Containers extracted from tar.gz should be validated to confine entries to > the archive's root directory. -- 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