AlmaLinux 8 : samba (ALSA-2022:2074)

medium Nessus Plugin ID 161095

Synopsis

The remote AlmaLinux host is missing one or more security updates.

Description

The remote AlmaLinux 8 host has packages installed that are affected by multiple vulnerabilities as referenced in the ALSA-2022:2074 advisory.

- All versions of Samba prior to 4.15.5 are vulnerable to a malicious client using a server symlink to determine if a file or directory exists in an area of the server file system not exported under the share definition. SMB1 with unix extensions has to be enabled in order for this attack to succeed.
(CVE-2021-44141)

- A flaw was found in the way Samba handled file/directory metadata. This flaw allows an authenticated attacker with permissions to read or modify share metadata, to perform this operation outside of the share. (CVE-2021-20316)

Note that Nessus has not tested for these issues 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-2022-2074.html

Plugin Details

Severity: Medium

ID: 161095

File Name: alma_linux_ALSA-2022-2074.nasl

Version: 1.5

Type: local

Published: 5/12/2022

Updated: 3/21/2023

Supported Sensors: Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.2

CVSS v2

Risk Factor: Low

Base Score: 3.5

Temporal Score: 2.6

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

CVSS Score Source: CVE-2021-44141

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

CVSS Score Source: CVE-2021-20316

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: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:samba-winbind-krb5-locator, p-cpe:/a:alma:linux:libwbclient, p-cpe:/a:alma:linux:samba-test-libs, p-cpe:/a:alma:linux:ctdb, 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, p-cpe:/a:alma:linux:samba-vfs-iouring

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: 5/10/2022

Vulnerability Publication Date: 1/31/2022

Reference Information

CVE: CVE-2021-20316, CVE-2021-44141

IAVA: 2022-A-0054-S