Bug 1350785

Summary: Add relative path validation for gluster copy file utility
Product: [Community] GlusterFS Reporter: Aravinda VK <avishwan>
Component: geo-replicationAssignee: Aravinda VK <avishwan>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.8.0CC: bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.8.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1348897 Environment:
Last Closed: 2016-07-08 14:42:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1348897    
Bug Blocks:    

Comment 1 Vijay Bellur 2016-06-28 11:57:50 UTC
REVIEW: http://review.gluster.org/14819 (glusterd/geo-rep: Add relative path validation to copy file command) posted (#1) for review on release-3.8 by Aravinda VK (avishwan)

Comment 2 Vijay Bellur 2016-07-05 11:58:51 UTC
COMMIT: http://review.gluster.org/14819 committed in release-3.8 by Jeff Darcy (jdarcy) 
------
commit 528a19825420362b4b873bbd4070b0496ab86a39
Author: Aravinda VK <avishwan>
Date:   Wed Jun 22 14:57:44 2016 +0530

    glusterd/geo-rep: Add relative path validation to copy file command
    
    Added validation for input file, command fails if input file path is
    relative path pointing outside of GLUSTERD_WORKDIR.
    
    BUG: 1350785
    Change-Id: I329d43ebed69bfe9fe03d6be70dc8c78a605ffc5
    Signed-off-by: Aravinda VK <avishwan>
    Reviewed-on: http://review.gluster.org/14772
    (cherry picked from commit 888de8851e718d8e3117e47fa35cfc075b998f62)
    Reviewed-on: http://review.gluster.org/14819
    Smoke: Gluster Build System <jenkins.org>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.org>
    Reviewed-by: Jeff Darcy <jdarcy>

Comment 3 Niels de Vos 2016-07-08 14:42:35 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.8.1, please open a new bug report.

glusterfs-3.8.1 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://thread.gmane.org/gmane.comp.file-systems.gluster.packaging/156
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user