Out-of-bounds Read Affecting samba-python-test package, versions <0:4.10.16-15.el7_9


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.42% (76th 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-CENTOS7-SAMBAPYTHONTEST-2184186
  • published26 Jul 2021
  • disclosed29 Apr 2021

Introduced: 29 Apr 2021

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

How to fix?

Upgrade Centos:7 samba-python-test to version 0:4.10.16-15.el7_9 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream samba-python-test package and not the samba-python-test package as distributed by Centos. See How to fix? for Centos:7 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