Bug 2173922 (CVE-2022-48340)

Summary: CVE-2022-48340 glusterfs: heap use-after-free in dht_setxattr_mds_cbk() in dht-common.c
Product: [Other] Security Response Reporter: TEJ RATHI <trathi>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: POST --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: moagrawa, sheggodu
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in Gluster, where GlusterFS is vulnerable to a denial of service caused by an xlators/cluster/dht/src/dht-common.c dht_setxattr_mds_cbk use-after-free. By sending a specially-crafted request, a remote attacker can cause a denial of service.
Story Points: ---
Clone Of: Environment:
Last Closed: 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: 2179849, 2174643, 2181080, 2181081    
Bug Blocks: 2172265    

Description TEJ RATHI 2023-02-28 12:28:02 UTC
In Gluster GlusterFS, there is an xlators/cluster/dht/src/dht-common.c dht_setxattr_mds_cbk use-after-free.

https://github.com/gluster/glusterfs/issues/3732

Comment 1 Sandipan Roy 2023-03-02 05:36:30 UTC
Created glusterfs tracking bugs for this issue:

Affects: fedora-all [bug 2174643]

Comment 6 Mohit Agrawal 2023-10-23 08:25:02 UTC
The issue is fixed by the upstream patch.
https://github.com/gluster/glusterfs/pull/4242