An infinite loop vulnerability was found in Samba's mdssvc RPC service for Spotlight. When parsing Spotlight mdssvc RPC packets sent by the client, th...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:14.04:LTSsamba |
< 2:4.3.11+dfsg-0ubuntu0.14.04.20+esm13→ 2:4.3.11+dfsg-0ubuntu0.14.04.20+esm13 |
2:4.3.11+dfsg-0ubuntu0.14.04.20+esm13 |
| Ubuntu:Pro:16.04:LTSsamba |
< 2:4.3.11+dfsg-0ubuntu0.16.04.34+esm2→ 2:4.3.11+dfsg-0ubuntu0.16.04.34+esm2 |
2:4.3.11+dfsg-0ubuntu0.16.04.34+esm2 |
| Ubuntu:Pro:18.04:LTSsamba |
< 2:4.7.6+dfsg~ubuntu-0ubuntu2.29+esm1→ 2:4.7.6+dfsg~ubuntu-0ubuntu2.29+esm1 |
2:4.7.6+dfsg~ubuntu-0ubuntu2.29+esm1 |
| Ubuntu:20.04:LTSsamba |
< 2:4.15.13+dfsg-0ubuntu0.20.04.3→ 2:4.15.13+dfsg-0ubuntu0.20.04.3 |
2:4.15.13+dfsg-0ubuntu0.20.04.3 |
| Ubuntu:22.04:LTSsamba |
< 2:4.15.13+dfsg-0ubuntu1.2→ 2:4.15.13+dfsg-0ubuntu1.2 |
2:4.15.13+dfsg-0ubuntu1.2 |
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory ubuntu.com
- advisory ubuntu.com
- report ubuntu.com
- report samba.org
- report cve.org