Amazon Linux 2 : samba, --advisory ALAS2-2025-2979 (ALAS-2025-2979)

low Nessus Plugin ID 261345

Synopsis

The remote Amazon Linux 2 host is missing a security update.

Description

The version of samba installed on the remote host is prior to 4.10.16-24. It is, therefore, affected by a vulnerability as referenced in the ALAS2-2025-2979 advisory.

All versions of Samba prior to 4.13.16 are vulnerable to a malicious client using an SMB1 or NFS race to allow a directory to be created in an area of the server file system not exported under the share definition. Note that SMB1 has to be enabled, or the share also available via NFS in order for this attack to succeed. (CVE-2021-43566)

Tenable has extracted the preceding description block directly from the tested product security advisory.

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

Solution

Run 'yum update samba' or or 'yum update --advisory ALAS2-2025-2979' to update your system.

See Also

https://alas.aws.amazon.com//AL2/ALAS2-2025-2979.html

https://alas.aws.amazon.com/faqs.html

https://explore.alas.aws.amazon.com/CVE-2021-43566.html

Plugin Details

Severity: Low

ID: 261345

File Name: al2_ALAS-2025-2979.nasl

Version: 1.1

Type: local

Agent: unix

Published: 9/4/2025

Updated: 9/4/2025

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

Risk Information

VPR

Risk Factor: Low

Score: 2.2

CVSS v2

Risk Factor: Low

Base Score: 1.2

Temporal Score: 0.9

Vector: CVSS2#AV:L/AC:H/Au:N/C:N/I:P/A:N

CVSS Score Source: CVE-2021-43566

CVSS v3

Risk Factor: Low

Base Score: 2.5

Temporal Score: 2.3

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

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:libwbclient, cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:samba-common-tools, p-cpe:/a:amazon:linux:samba-python-test, p-cpe:/a:amazon:linux:samba-winbind-krb5-locator, p-cpe:/a:amazon:linux:samba, p-cpe:/a:amazon:linux:samba-client-libs, p-cpe:/a:amazon:linux:samba-python, p-cpe:/a:amazon:linux:samba-test, p-cpe:/a:amazon:linux:samba-client, p-cpe:/a:amazon:linux:samba-common-libs, p-cpe:/a:amazon:linux:samba-winbind, p-cpe:/a:amazon:linux:samba-debuginfo, p-cpe:/a:amazon:linux:samba-dc-libs, p-cpe:/a:amazon:linux:samba-vfs-glusterfs, p-cpe:/a:amazon:linux:samba-krb5-printing, p-cpe:/a:amazon:linux:samba-devel, p-cpe:/a:amazon:linux:libsmbclient-devel, p-cpe:/a:amazon:linux:ctdb-tests, p-cpe:/a:amazon:linux:libwbclient-devel, p-cpe:/a:amazon:linux:libsmbclient, p-cpe:/a:amazon:linux:samba-winbind-modules, p-cpe:/a:amazon:linux:samba-pidl, p-cpe:/a:amazon:linux:samba-libs, p-cpe:/a:amazon:linux:samba-dc, p-cpe:/a:amazon:linux:samba-winbind-clients, p-cpe:/a:amazon:linux:samba-common, p-cpe:/a:amazon:linux:ctdb, p-cpe:/a:amazon:linux:samba-test-libs

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

Exploit Available: true

Exploit Ease: No known exploits are available

Patch Publication Date: 9/4/2025

Vulnerability Publication Date: 1/10/2022

Reference Information

CVE: CVE-2021-43566

IAVA: 2022-A-0020