CVE-2023-34966

Publication date 19 July 2023

Last updated 30 June 2025


Ubuntu priority

Cvss 3 Severity Score

7.5 · High

Score breakdown

Description

An infinite loop vulnerability was found in Samba's mdssvc RPC service for Spotlight. When parsing Spotlight mdssvc RPC packets sent by the client, the core unmarshalling function sl_unpack_loop() did not validate a field in the network packet that contains the count of elements in an array-like structure. By passing 0 as the count value, the attacked function will run in an endless loop consuming 100% CPU. This flaw allows an attacker to issue a malformed RPC request, triggering an infinite loop, resulting in a denial of service condition.

Status

Package Ubuntu Release Status
samba 25.04 plucky
Fixed in 2:4.18.5+dfsg-1ubuntu1
24.10 oracular
Fixed in 2:4.18.5+dfsg-1ubuntu1
24.04 LTS noble
Fixed in 2:4.18.5+dfsg-1ubuntu1
23.10 mantic
Fixed in 2:4.18.5+dfsg-1ubuntu1
23.04 lunar
Fixed in 2:4.17.7+dfsg-1ubuntu1.1
22.10 kinetic
Fixed in 2:4.16.8+dfsg-0ubuntu1.2
22.04 LTS jammy
Fixed in 2:4.15.13+dfsg-0ubuntu1.2
20.04 LTS focal
Fixed in 2:4.15.13+dfsg-0ubuntu0.20.04.3
18.04 LTS bionic
Fixed in 2:4.7.6+dfsg~ubuntu-0ubuntu2.29+esm1
16.04 LTS xenial
Fixed in 2:4.3.11+dfsg-0ubuntu0.16.04.34+esm2
14.04 LTS trusty
Fixed in 2:4.3.11+dfsg-0ubuntu0.14.04.20+esm13

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro 30-day free trial

Severity score breakdown

CVSS version: CVSS v3.0

Base score 7.5 · High

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References

Related Ubuntu Security Notices (USN)

Other references


Access our resources on patching vulnerabilities