The Gluster file system through versions 4.1.4 and 3.12 is vulnerable to a heap-based buffer overflow in the "__server_getspec" function via the "gf_getspec_req" RPC message. A remote authenticated attacker could exploit this to cause a denial of service or other potential unspecified impact. Patching this issue also requires fixing the "build_volfile_path" function to prevent arbitrary file reads via crafted filenames.
Acknowledgments: Name: Michael Hanselmann (hansmi.ch)
Statement: This issue did not affect Red Hat Enterprise Linux 6 and 7 as the flaw is present in glusterfs-server, which is not shipped there. This flaw affects glusterfs versions included in Red Hat Virtualization 4 Hypervisor. However, in recommended configurations, the vulnerability is only exposed to hypervisor administrators and can not be exploited from virtual machines or other hosts on the network.
Created glusterfs tracking bugs for this issue: Affects: fedora-all [bug 1644584]
This issue has been addressed in the following products: Red Hat Gluster Storage 3.4 for RHEL 6 Native Client for RHEL 6 for Red Hat Storage Via RHSA-2018:3431 https://access.redhat.com/errata/RHSA-2018:3431
This issue has been addressed in the following products: Red Hat Gluster Storage 3.4 for RHEL 7 Native Client for RHEL 7 for Red Hat Storage Via RHSA-2018:3432 https://access.redhat.com/errata/RHSA-2018:3432
upstream fix: https://review.gluster.org/#/c/glusterfs/+/21528/ https://review.gluster.org/#/c/glusterfs/+/21529/
This issue has been addressed in the following products: Red Hat Virtualization 4 for Red Hat Enterprise Linux 7 Via RHSA-2018:3470 https://access.redhat.com/errata/RHSA-2018:3470