Bug 2222793 (CVE-2023-34966) - CVE-2023-34966 samba: infinite loop in mdssvc RPC service for spotlight
Summary: CVE-2023-34966 samba: infinite loop in mdssvc RPC service for spotlight
Keywords:
Status: NEW
Alias: CVE-2023-34966
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 2222894 2222895 2222896 2224253
Blocks: 2216374
TreeView+ depends on / blocked
 
Reported: 2023-07-13 18:08 UTC by TEJ RATHI
Modified: 2023-08-04 07:50 UTC (History)
9 users (show)

Fixed In Version: samba 4.16.11, samba 4.17.10, samba 4.18.5
Doc Type: If docs needed, set a value
Doc Text:
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.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description TEJ RATHI 2023-07-13 18:08:13 UTC
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 infinite loop bug in Samba's mdssvc RPC service for Spotlight can be triggered by an unauthenticated attacker by issuing a malformed RPC request.

Comment 2 TEJ RATHI 2023-07-20 09:25:10 UTC
This CVE is public now - https://www.samba.org/samba/security/CVE-2023-34966.html

Comment 3 TEJ RATHI 2023-07-20 09:33:10 UTC
Created samba tracking bugs for this issue:

Affects: fedora-all [bug 2224253]


Note You need to log in before you can comment on or make changes to this bug.