CVE Vulnerabilities

CVE-2022-48340

Use After Free

Published: Feb 21, 2023 | Modified: Mar 14, 2025
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
7.5 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM

In Gluster GlusterFS 11.0, there is an xlators/cluster/dht/src/dht-common.c dht_setxattr_mds_cbk use-after-free.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

Name Vendor Start Version End Version
Glusterfs Gluster 11.0 (including) 11.0 (including)
Glusterfs Ubuntu bionic *
Glusterfs Ubuntu esm-apps/bionic *
Glusterfs Ubuntu esm-apps/focal *
Glusterfs Ubuntu focal *
Glusterfs Ubuntu jammy *
Glusterfs Ubuntu kinetic *
Glusterfs Ubuntu lunar *
Glusterfs Ubuntu mantic *
Glusterfs Ubuntu trusty *
Glusterfs Ubuntu upstream *
Glusterfs Ubuntu xenial *

Potential Mitigations

References