Infinite loop Affecting samba package, versions [,4.16.11)[4.17.0,4.17.10)[4.18.0,4.18.5)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
13.49% (96th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-SAMBA-5798519
  • published21 Jul 2023
  • disclosed19 Jul 2023
  • creditFlorent Saudel

Introduced: 19 Jul 2023

CVE-2023-34966  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade samba to version 4.16.11, 4.17.10, 4.18.5 or higher.

Overview

Affected versions of this package are vulnerable to Infinite loop. When parsing Spotlight mdssvc RPC packets sent by the client, the core unmarshalling function sl_unpack_loop() does 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.

CVSS Scores

version 3.1