Bug 1635926 (CVE-2018-14660) - CVE-2018-14660 glusterfs: Repeat use of "GF_META_LOCK_KEY" xattr allows for memory exhaustion
Summary: CVE-2018-14660 glusterfs: Repeat use of "GF_META_LOCK_KEY" xattr allows for m...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2018-14660
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1616829 1636308
Blocks: 1635927 1644080
TreeView+ depends on / blocked
 
Reported: 2018-10-04 00:51 UTC by Sam Fowler
Modified: 2023-02-27 19:11 UTC (History)
30 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in glusterfs server which allowed repeated usage of GF_META_LOCK_KEY xattr. A remote, authenticated attacker could use this flaw to create multiple locks for single inode by using setxattr repetitively resulting in memory exhaustion of glusterfs server node.
Clone Of:
Environment:
Last Closed: 2019-06-10 10:39:10 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:3431 0 None None None 2018-10-31 08:43:51 UTC
Red Hat Product Errata RHSA-2018:3432 0 None None None 2018-10-31 08:44:43 UTC
Red Hat Product Errata RHSA-2018:3470 0 None None None 2018-11-05 14:58:51 UTC

Description Sam Fowler 2018-10-04 00:51:10 UTC
The Gluster file system through versions 4.1.4 and 3.1.2 is vulnerable to a denial of service attack via use of the "GF_META_LOCK_KEY" xattr. A remote, authenticated attacker could exploit this by mounting a Gluster volume and repeatedly calling "setxattr(2)" to trigger an out-of-memory error and resultant denial of service.

Comment 1 Sam Fowler 2018-10-04 00:51:20 UTC
Acknowledgments:

Name: Michael Hanselmann (hansmi.ch)

Comment 5 Doran Moppert 2018-10-30 00:21:19 UTC
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.

Comment 6 errata-xmlrpc 2018-10-31 08:43:38 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 7 errata-xmlrpc 2018-10-31 08:44:30 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 8 Salvatore Bonaccorso 2018-11-01 20:28:59 UTC
Any information on upstream fix for this issue?

Comment 9 Siddharth Sharma 2018-11-02 04:34:32 UTC
upstream fix:

https://review.gluster.org/#/c/glusterfs/+/21531/

Comment 10 Salvatore Bonaccorso 2018-11-02 12:56:20 UTC
Siddharth, here and for the other bugreports: thanks for updating the information!

Comment 11 errata-xmlrpc 2018-11-05 14:58:38 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.