Bug 1633431 (CVE-2018-14653) - CVE-2018-14653 glusterfs: Heap-based buffer overflow via "gf_getspec_req" RPC message
Summary: CVE-2018-14653 glusterfs: Heap-based buffer overflow via "gf_getspec_req" RPC...
Status: NEW
Alias: CVE-2018-14653
Product: Security Response
Classification: Other
Component: vulnerability   
(Show other bugs)
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Whiteboard: impact=moderate,public=20181031:0800,...
Keywords: Security
Depends On: 1616829 1634668 1644584 1644756 1647664 1647670
Blocks: 1633432 1644080
TreeView+ depends on / blocked
Reported: 2018-09-27 01:48 UTC by Sam Fowler
Modified: 2018-12-21 02:07 UTC (History)
31 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A buffer overflow on the heap was found in gf_getspec_req RPC request. A remote, authenticated attacker could use this flaw to cause denial of service and read arbitrary files on glusterfs server node.
Story Points: ---
Clone Of:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:3431 None None None 2018-10-31 08:43 UTC
Red Hat Product Errata RHSA-2018:3432 None None None 2018-10-31 08:44 UTC
Red Hat Product Errata RHSA-2018:3470 None None None 2018-11-05 14:58 UTC

Description Sam Fowler 2018-09-27 01:48:19 UTC
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.

Comment 1 Sam Fowler 2018-09-27 01:48:29 UTC

Name: Michael Hanselmann (hansmi.ch)

Comment 5 Doran Moppert 2018-10-30 00:21:16 UTC

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.

Comment 6 Siddharth Sharma 2018-10-31 08:12:58 UTC
Created glusterfs tracking bugs for this issue:

Affects: fedora-all [bug 1644584]

Comment 7 errata-xmlrpc 2018-10-31 08:43:22 UTC
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

Comment 8 errata-xmlrpc 2018-10-31 08:44:25 UTC
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

Comment 10 errata-xmlrpc 2018-11-05 14:58:26 UTC
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

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