Bug 1632974 (CVE-2018-14652) - CVE-2018-14652 glusterfs: Buffer overflow in "features/locks" translator allows for denial of service
Summary: CVE-2018-14652 glusterfs: Buffer overflow in "features/locks" translator allo...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2018-14652
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 1634669 1644579 1644761 1645363 1645373
Blocks: 1632976 1644080
TreeView+ depends on / blocked
 
Reported: 2018-09-26 00:48 UTC by Sam Fowler
Modified: 2021-02-16 23:00 UTC (History)
30 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A buffer overflow was found in strncpy of the pl_getxattr() function. An authenticated attacker could remotely overflow the buffer by sending a buffer of larger length than the size of the key resulting in remote denial of service.
Clone Of:
Environment:
Last Closed: 2019-06-10 10:38:46 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:30 UTC
Red Hat Product Errata RHSA-2018:3432 0 None None None 2018-10-31 08:44:22 UTC
Red Hat Product Errata RHSA-2018:3470 0 None None None 2018-11-05 14:58:30 UTC

Description Sam Fowler 2018-09-26 00:48:53 UTC
The Gluster file system through versions 3.12 and 4.1.4 is vulnerable to a buffer overflow in the "features/index" translator via the code handling the "GF_XATTR_CLRLK_CMD" xattr in the "pl_getxattr" function. A remote authenticated attacker could exploit this on a mounted volume to cause a denial of service.

Comment 1 Sam Fowler 2018-09-26 00:49:02 UTC
Acknowledgments:

Name: Michael Hanselmann (hansmi.ch)

Comment 5 Doran Moppert 2018-10-30 00:21:52 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 Siddharth Sharma 2018-10-31 08:12:06 UTC
Created glusterfs tracking bugs for this issue:

Affects: fedora-all [bug 1644579]

Comment 7 errata-xmlrpc 2018-10-31 08:43:16 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:06 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 9 Siddharth Sharma 2018-11-02 04:53:00 UTC
upstream fix:

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

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