Rocky Linux 8 : samba (RLSA-2022:2074)

medium Nessus Plugin ID 161339

Synopsis

The remote Rocky Linux host is missing one or more security updates.

Description

The remote Rocky Linux 8 host has packages installed that are affected by multiple vulnerabilities as referenced in the RLSA-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.rockylinux.org/RLSA-2022:2074

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Plugin Details

Severity: Medium

ID: 161339

File Name: rocky_linux_RLSA-2022-2074.nasl

Version: 1.6

Type: local

Published: 5/18/2022

Updated: 11/6/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.0

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:rocky:linux:ctdb, p-cpe:/a:rocky:linux:ctdb-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-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-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, 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-iouring, p-cpe:/a:rocky:linux:samba-vfs-iouring-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

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

Vulnerability Publication Date: 1/31/2022

Reference Information

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

IAVA: 2022-A-0054-S