Rocky Linux 8 : samba (RLSA-2021:4058)

medium Nessus Plugin ID 157837

Synopsis

The remote Rocky Linux host is missing a security update.

Description

The remote Rocky Linux 8 host has packages installed that are affected by a vulnerability as referenced in the RLSA-2021:4058 advisory.

- 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.
(CVE-2021-20254)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://errata.rockylinux.org/RLSA-2021:4058

https://bugzilla.redhat.com/show_bug.cgi?id=1949442

Plugin Details

Severity: Medium

ID: 157837

File Name: rocky_linux_RLSA-2021-4058.nasl

Version: 1.3

Type: local

Published: 2/9/2022

Updated: 2/14/2022

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 4.9

Temporal Score: 3.6

Vector: AV:N/AC:M/Au:S/C:P/I:P/A:N

Temporal Vector: E:U/RL:OF/RC:C

CVSS Score Source: CVE-2021-20254

CVSS v3

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.9

Vector: CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

Temporal Vector: E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:rocky:linux:ctdb, p-cpe:/a:rocky:linux:ctdb-debuginfo, p-cpe:/a:rocky:linux:ctdb-tests, p-cpe:/a:rocky:linux:ctdb-tests-debuginfo, p-cpe:/a:rocky:linux:libsmbclient, p-cpe:/a:rocky:linux:libsmbclient-debuginfo, p-cpe:/a:rocky:linux:libsmbclient-devel, p-cpe:/a:rocky:linux:libwbclient, p-cpe:/a:rocky:linux:libwbclient-debuginfo, p-cpe:/a:rocky:linux:libwbclient-devel, p-cpe:/a:rocky:linux:python3-samba, p-cpe:/a:rocky:linux:python3-samba-debuginfo, p-cpe:/a:rocky:linux:python3-samba-devel, p-cpe:/a:rocky:linux:python3-samba-test, p-cpe:/a:rocky:linux:samba, p-cpe:/a:rocky:linux:samba-client, p-cpe:/a:rocky:linux:samba-client-debuginfo, p-cpe:/a:rocky:linux:samba-client-libs, p-cpe:/a:rocky:linux:samba-client-libs-debuginfo, p-cpe:/a:rocky:linux:samba-common, p-cpe:/a:rocky:linux:samba-common-libs, p-cpe:/a:rocky:linux:samba-common-libs-debuginfo, p-cpe:/a:rocky:linux:samba-common-tools, p-cpe:/a:rocky:linux:samba-common-tools-debuginfo, p-cpe:/a:rocky:linux:samba-debuginfo, p-cpe:/a:rocky:linux:samba-debugsource, p-cpe:/a:rocky:linux:samba-devel, p-cpe:/a:rocky:linux:samba-krb5-printing, p-cpe:/a:rocky:linux:samba-krb5-printing-debuginfo, p-cpe:/a:rocky:linux:samba-libs, p-cpe:/a:rocky:linux:samba-libs-debuginfo, p-cpe:/a:rocky:linux:samba-pidl, p-cpe:/a:rocky:linux:samba-test, p-cpe:/a:rocky:linux:samba-test-debuginfo, p-cpe:/a:rocky:linux:samba-test-libs, p-cpe:/a:rocky:linux:samba-test-libs-debuginfo, p-cpe:/a:rocky:linux:samba-vfs-glusterfs, p-cpe:/a:rocky:linux:samba-vfs-glusterfs-debuginfo, p-cpe:/a:rocky:linux:samba-winbind, p-cpe:/a:rocky:linux:samba-winbind-clients, p-cpe:/a:rocky:linux:samba-winbind-clients-debuginfo, p-cpe:/a:rocky:linux:samba-winbind-debuginfo, p-cpe:/a:rocky:linux:samba-winbind-krb5-locator, p-cpe:/a:rocky:linux:samba-winbind-krb5-locator-debuginfo, p-cpe:/a:rocky:linux:samba-winbind-modules, p-cpe:/a:rocky:linux:samba-winbind-modules-debuginfo, p-cpe:/a:rocky:linux:samba-winexe, p-cpe:/a:rocky:linux:samba-winexe-debuginfo, cpe:/o:rocky:linux:8

Required KB Items: Host/local_checks_enabled, Host/RockyLinux/release, Host/RockyLinux/rpm-list, Host/cpu

Exploit Ease: No known exploits are available

Patch Publication Date: 11/4/2021

Vulnerability Publication Date: 4/29/2021

Reference Information

CVE: CVE-2021-20254

RLSA: 2021:4058

IAVA: 2021-A-0208-S