Bug 1348897 - Add relative path validation for gluster copy file utility
Summary: Add relative path validation for gluster copy file utility
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: geo-replication
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Aravinda VK
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1350783 1350784 1350785
TreeView+ depends on / blocked
 
Reported: 2016-06-22 09:27 UTC by Aravinda VK
Modified: 2017-03-27 18:13 UTC (History)
1 user (show)

Fixed In Version: glusterfs-3.9.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1350783 1350784 1350785 (view as bug list)
Environment:
Last Closed: 2017-03-27 18:13:46 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Comment 1 Aravinda VK 2016-06-22 09:31:18 UTC
Relative path validation missing in gluster copy file command.

Comment 2 Vijay Bellur 2016-06-22 09:31:53 UTC
REVIEW: http://review.gluster.org/14772 (glusterd/geo-rep: Add relative path validation to copy file command) posted (#1) for review on master by Aravinda VK (avishwan)

Comment 3 Vijay Bellur 2016-06-24 06:35:32 UTC
REVIEW: http://review.gluster.org/14772 (glusterd/geo-rep: Add relative path validation to copy file command) posted (#2) for review on master by Aravinda VK (avishwan)

Comment 4 Vijay Bellur 2016-06-27 09:11:36 UTC
REVIEW: http://review.gluster.org/14772 (glusterd/geo-rep: Add relative path validation to copy file command) posted (#3) for review on master by Aravinda VK (avishwan)

Comment 5 Vijay Bellur 2016-06-27 12:54:37 UTC
REVIEW: http://review.gluster.org/14772 (glusterd/geo-rep: Add relative path validation to copy file command) posted (#4) for review on master by Aravinda VK (avishwan)

Comment 6 Vijay Bellur 2016-06-27 17:11:47 UTC
COMMIT: http://review.gluster.org/14772 committed in master by Jeff Darcy (jdarcy) 
------
commit 888de8851e718d8e3117e47fa35cfc075b998f62
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: 1348897
    Change-Id: I329d43ebed69bfe9fe03d6be70dc8c78a605ffc5
    Signed-off-by: Aravinda VK <avishwan>
    Reviewed-on: http://review.gluster.org/14772
    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 7 Shyamsundar 2017-03-27 18:13:46 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.9.0, please open a new bug report.

glusterfs-3.9.0 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://lists.gluster.org/pipermail/gluster-users/2016-November/029281.html
[2] https://www.gluster.org/pipermail/gluster-users/


Note You need to log in before you can comment on or make changes to this bug.