AlmaLinux 8 : samba (ALSA-2021:4058)

medium Nessus Plugin ID 157726

Synopsis

The remote AlmaLinux host is missing a security update.

Description

The remote AlmaLinux 8 host has packages installed that are affected by a vulnerability as referenced in the ALSA-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.almalinux.org/8/ALSA-2021-4058.html

Plugin Details

Severity: Medium

ID: 157726

File Name: alma_linux_ALSA-2021-4058.nasl

Version: 1.3

Type: local

Published: 2/9/2022

Updated: 2/14/2022

Supported Sensors: Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.2

CVSS v2

Risk Factor: Medium

Base Score: 4.9

Temporal Score: 3.6

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

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: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

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

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

Exploit Ease: No known exploits are available

Patch Publication Date: 11/2/2021

Vulnerability Publication Date: 4/29/2021

Reference Information

CVE: CVE-2021-20254

IAVA: 2021-A-0208-S