RHEL 8 : samba (RHSA-2022:2074)

medium Nessus Plugin ID 161020

Synopsis

The remote Red Hat host is missing one or more security updates.

Description

The remote Redhat Enterprise Linux 8 host has packages installed that are affected by multiple vulnerabilities as referenced in the RHSA-2022:2074 advisory.

Samba is an open-source implementation of the Server Message Block (SMB) protocol and the related Common Internet File System (CIFS) protocol, which allow PC-compatible machines to share files, printers, and various information.

The following packages have been upgraded to a later upstream version: samba (4.15.5). (BZ#2013596)

Security Fix(es):

* samba: Symlink race error can allow metadata read and modify outside of the exported share (CVE-2021-20316)

* samba: Information leak via symlinks of existance of files or directories outside of the exported share (CVE-2021-44141)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the Red Hat Enterprise Linux 8.6 Release Notes linked from the References section.

Tenable has extracted the preceding description block directly from the Red Hat Enterprise Linux security advisory.

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

http://www.nessus.org/u?9341665d

http://www.nessus.org/u?ccba533a

https://access.redhat.com/security/updates/classification/#moderate

https://access.redhat.com/errata/RHSA-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: 161020

File Name: redhat-RHSA-2022-2074.nasl

Version: 1.9

Type: local

Agent: unix

Published: 5/11/2022

Updated: 11/7/2024

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.2

Vendor

Vendor Severity: Moderate

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:redhat:enterprise_linux:samba-vfs-iouring, p-cpe:/a:redhat:enterprise_linux:python3-samba-test, p-cpe:/a:redhat:enterprise_linux:samba-krb5-printing, p-cpe:/a:redhat:enterprise_linux:samba-common, p-cpe:/a:redhat:enterprise_linux:samba-winbind-modules, p-cpe:/a:redhat:enterprise_linux:samba-client, p-cpe:/a:redhat:enterprise_linux:samba-client-libs, p-cpe:/a:redhat:enterprise_linux:samba-winbind-clients, p-cpe:/a:redhat:enterprise_linux:samba-libs, p-cpe:/a:redhat:enterprise_linux:samba-test, p-cpe:/a:redhat:enterprise_linux:samba-pidl, p-cpe:/a:redhat:enterprise_linux:samba-winexe, p-cpe:/a:redhat:enterprise_linux:samba-common-libs, p-cpe:/a:redhat:enterprise_linux:ctdb, p-cpe:/a:redhat:enterprise_linux:samba-test-libs, p-cpe:/a:redhat:enterprise_linux:samba-winbind-krb5-locator, cpe:/o:redhat:enterprise_linux:8, p-cpe:/a:redhat:enterprise_linux:libwbclient-devel, p-cpe:/a:redhat:enterprise_linux:samba-winbind, p-cpe:/a:redhat:enterprise_linux:libwbclient, p-cpe:/a:redhat:enterprise_linux:samba-devel, p-cpe:/a:redhat:enterprise_linux:libsmbclient, p-cpe:/a:redhat:enterprise_linux:samba, p-cpe:/a:redhat:enterprise_linux:samba-common-tools, p-cpe:/a:redhat:enterprise_linux:libsmbclient-devel, p-cpe:/a:redhat:enterprise_linux:python3-samba

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/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

CWE: 362, 59

IAVA: 2022-A-0054-S

RHSA: 2022:2074