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
root.io logo minimus.io logo echo.ai logo

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

NameVendorStart VersionEnd Version
GlusterfsGluster11.0 (including)11.0 (including)
GlusterfsUbuntubionic*
GlusterfsUbuntuesm-apps/bionic*
GlusterfsUbuntuesm-apps/focal*
GlusterfsUbuntufocal*
GlusterfsUbuntujammy*
GlusterfsUbuntukinetic*
GlusterfsUbuntulunar*
GlusterfsUbuntumantic*
GlusterfsUbuntutrusty*
GlusterfsUbuntuupstream*
GlusterfsUbuntuxenial*

Potential Mitigations

References