Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1350784

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.7.12CC: bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.7.15 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1348897 Environment:
Last Closed: 2016-09-01 09:20: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-07-19 06:15:52 UTC
REVIEW: http://review.gluster.org/14948 (glusterd/geo-rep: Add relative path validation to copy file command) posted (#1) for review on release-3.7 by Aravinda VK (avishwan)

Comment 2 Worker Ant 2016-08-25 07:30:57 UTC
COMMIT: http://review.gluster.org/14948 committed in release-3.7 by Aravinda VK (avishwan) 
------
commit c9434a70f07ec25821563f66f36767c3a7ad0de4
Author: Aravinda VK <avishwan>
Date:   Tue Jul 19 11:33:19 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: 1350784
    Change-Id: I329d43ebed69bfe9fe03d6be70dc8c78a605ffc5
    Signed-off-by: Aravinda VK <avishwan>
    Reviewed-on: http://review.gluster.org/14772
    Reviewed-on: http://review.gluster.org/14948
    NetBSD-regression: NetBSD Build System <jenkins.org>
    Smoke: Gluster Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.org>
    Reviewed-by: Kotresh HR <khiremat>

Comment 3 Kaushal 2016-09-01 09:20: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.7.15, please open a new bug report.

glusterfs-3.7.15 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] https://www.gluster.org/pipermail/gluster-devel/2016-September/050714.html
[2] https://www.gluster.org/pipermail/gluster-users/

Comment 4 Kaushal 2016-09-01 09:32:51 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.7.15, please open a new bug report.

glusterfs-3.7.15 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] https://www.gluster.org/pipermail/gluster-devel/2016-September/050714.html
[2] https://www.gluster.org/pipermail/gluster-users/