CVE-2023-34966

Samba: infinite loop in mdssvc rpc service for spotlight

HIGH 7.5

At a glance

Source
NVD
EPSS
EPSS 62.40 % · percentile 99 ()
State
PUBLISHED
Published
Updated
Assigner
redhat
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-835 — Loop with Unreachable Exit Condition (Infinite Loop)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hredhat
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD · secalert@redhat.com (Secondary)
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Red Hat · Red Hat Enterprise Linux 8unaffected 0:4.18.6-1.el8 < *
Red Hat · Red Hat Enterprise Linux 8unaffected 0:4.18.6-1.el8 < *
Red Hat · Red Hat Enterprise Linux 8.6 Extended Update Supportunaffected 0:4.15.5-15.el8_6 < *
Red Hat · Red Hat Enterprise Linux 8.8 Extended Update Supportunaffected 0:4.17.5-5.el8_8 < *
Red Hat · Red Hat Enterprise Linux 9unaffected 0:4.18.6-100.el9 < *
Red Hat · Red Hat Enterprise Linux 9unaffected 0:4.18.6-100.el9 < *
Red Hat · Red Hat Enterprise Linux 9.2 Extended Update Supportunaffected 0:4.17.5-105.el9_2 < *
Red Hat · Red Hat Virtualization 4 for Red Hat Enterprise Linux 8unaffected 0:4.15.5-15.el8_6 < *
Red Hat · Red Hat Enterprise Linux 6
Red Hat · Red Hat Enterprise Linux 6
Red Hat · Red Hat Enterprise Linux 7
Red Hat · Red Hat Storage 3

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD