{"id":"UBUNTU-CVE-2022-48340","details":"In Gluster GlusterFS 11.0, there is an xlators/cluster/dht/src/dht-common.c dht_setxattr_mds_cbk use-after-free.","modified":"2026-04-22T13:32:12.848195Z","published":"2023-02-21T02:15:00Z","related":["USN-6507-1"],"upstream":["CVE-2022-48340"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-48340"},{"type":"REPORT","url":"https://github.com/gluster/glusterfs/pull/3744"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6507-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-48340"}],"affected":[{"package":{"name":"glusterfs","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/glusterfs@3.13.2-1ubuntu1+esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.11.2-1","3.12.1-1","3.12.2-1","3.12.2-2","3.12.3-1","3.13.0-1","3.13.2-1","3.13.2-1build1","3.13.2-1ubuntu1","3.13.2-1ubuntu1+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"glusterfs-client","binary_version":"3.13.2-1ubuntu1+esm1"},{"binary_name":"glusterfs-common","binary_version":"3.13.2-1ubuntu1+esm1"},{"binary_name":"glusterfs-server","binary_version":"3.13.2-1ubuntu1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-48340.json"}},{"package":{"name":"glusterfs","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/glusterfs@7.2-2build1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.5-1","7.0-1","7.0-2","7.1-1","7.2-1","7.2-2","7.2-2build1"],"ecosystem_specific":{"binaries":[{"binary_name":"glusterfs-client","binary_version":"7.2-2build1"},{"binary_name":"glusterfs-common","binary_version":"7.2-2build1"},{"binary_name":"glusterfs-server","binary_version":"7.2-2build1"},{"binary_version":"7.2-2build1","binary_name":"libgfapi0"},{"binary_name":"libgfchangelog0","binary_version":"7.2-2build1"},{"binary_name":"libgfrpc0","binary_version":"7.2-2build1"},{"binary_name":"libgfxdr0","binary_version":"7.2-2build1"},{"binary_name":"libglusterfs0","binary_version":"7.2-2build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-48340.json"}},{"package":{"name":"glusterfs","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/glusterfs@10.1-1ubuntu0.2?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.1-1ubuntu0.2"}]}],"versions":["9.2-1","10.0-1.2ubuntu1","10.0-1.2ubuntu2","10.0-2","10.1-1","10.1-1ubuntu0.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"glusterfs-cli","binary_version":"10.1-1ubuntu0.2"},{"binary_name":"glusterfs-client","binary_version":"10.1-1ubuntu0.2"},{"binary_name":"glusterfs-common","binary_version":"10.1-1ubuntu0.2"},{"binary_version":"10.1-1ubuntu0.2","binary_name":"glusterfs-server"},{"binary_name":"libgfapi0","binary_version":"10.1-1ubuntu0.2"},{"binary_name":"libgfchangelog0","binary_version":"10.1-1ubuntu0.2"},{"binary_name":"libgfrpc0","binary_version":"10.1-1ubuntu0.2"},{"binary_name":"libgfxdr0","binary_version":"10.1-1ubuntu0.2"},{"binary_name":"libglusterd0","binary_version":"10.1-1ubuntu0.2"},{"binary_version":"10.1-1ubuntu0.2","binary_name":"libglusterfs0"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-48340.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}