Out-of-bounds Read Affecting samba-ad-dc package, versions <4.9.5+git.432.d9b18c4f390-3.50.1


Severity

Recommended
0.0
high
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.16% (54th 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-SLES151-SAMBAADDC-2681518
  • published14 Apr 2022
  • disclosed4 May 2021

Introduced: 4 May 2021

CVE-2021-20254  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade SLES:15.1 samba-ad-dc to version 4.9.5+git.432.d9b18c4f390-3.50.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream samba-ad-dc package and not the samba-ad-dc package as distributed by SLES. See How to fix? for SLES:15.1 relevant fixed versions and status.

A flaw was found in samba. The Samba smbd file server must map Windows group identities (SIDs) into unix group ids (gids). The code that performs this had a flaw that could allow it to read data beyond the end of the array in the case where a negative cache entry had been added to the mapping cache. This could cause the calling code to return those values into the process token that stores the group membership for a user. The highest threat from this vulnerability is to data confidentiality and integrity.

CVSS Scores

version 3.1