Bug 1601657 (CVE-2018-10911)

Summary: CVE-2018-10911 glusterfs: Improper deserialization in dict.c:dict_unserialize() can allow attackers to read arbitrary memory
Product: [Other] Security Response Reporter: Sam Fowler <sfowler>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: abhgupta, amukherj, anoopcs, atumball, bmcclain, dbaker, dblechte, dfediuck, eedri, humble.devassy, jokerman, jonathansteffan, kkeithle, matthias, mgoldboi, michal.skrivanek, ndevos, public, ramkrsna, rhs-bugs, sankarshan, sbonazzo, security-response-team, sfowler, sherold, sisharma, ssaha, sthangav, trankin, vbellur
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs 3.12.14, glusterfs 4.1.4 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in dict.c:dict_unserialize function of glusterfs, dic_unserialize function does not handle negative key length values. An attacker could use this flaw to read memory from other locations into the stored dict value.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-10 10:32:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1607386, 1607407, 1607717, 1616829, 1625079, 1625082, 1625089, 1625656, 1633291, 1633303    
Bug Blocks: 1601660    

Description Sam Fowler 2018-07-17 00:38:42 UTC
GlusterFS has a deserialization vulnerability in the dict.c:dict_unserialize() function due to the improper handling of negative length values. An attacker could exploit via a crafted serialized dictionary to disclose arbitrary memory locations.

Comment 1 Sam Fowler 2018-07-17 00:38:52 UTC
Acknowledgments:

Name: Michael Hanselmann (hansmi.ch)

Comment 7 Doran Moppert 2018-07-24 06:05:27 UTC
Statement:

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. For Red Hat Virtualization, Product Security has rated this flaw as Moderate. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.

Comment 10 Siddharth Sharma 2018-09-04 05:43:53 UTC
Created glusterfs tracking bugs for this issue:

Affects: fedora-all [bug 1625079]

Comment 12 errata-xmlrpc 2018-09-04 06:24: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:2607 https://access.redhat.com/errata/RHSA-2018:2607

Comment 13 errata-xmlrpc 2018-09-04 06:25:52 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:2608 https://access.redhat.com/errata/RHSA-2018:2608

Comment 14 Siddharth Sharma 2018-09-04 07:56:45 UTC
upstream fix:

https://review.gluster.org/21067

Comment 17 errata-xmlrpc 2018-10-09 15:48:53 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6

Via RHSA-2018:2892 https://access.redhat.com/errata/RHSA-2018:2892

Comment 18 errata-xmlrpc 2018-10-30 07:52:28 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2018:3242 https://access.redhat.com/errata/RHSA-2018:3242

Comment 19 errata-xmlrpc 2018-11-05 14:56:48 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