Samba 4.13.x < 4.13.16 Arbitrary Directory Write

low Nessus Plugin ID 156756
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.


The remote Samba server is potentially affected by an arbitrary directory write vulnerability.


The version of Samba running on the remote host is 4.13.x prior to 4.13.16. It is, therefore, potentially affected by a SMB1 or NFS symlink race condition. A remote authenticated attacker, using the race condition, could potentially create a directory outside of the exported share.

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


Upgrade to Samba version 4.13.16 or later.

See Also

Plugin Details

Severity: Low

ID: 156756

File Name: samba_4_13_16.nasl

Version: 1.4

Type: remote

Family: Misc.

Published: 1/14/2022

Updated: 1/21/2022

Dependencies: smb_nativelanman.nasl

Configuration: Enable paranoid mode

Risk Information

CVSS Score Source: CVE-2021-43566


Risk Factor: Low

Score: 1.4


Risk Factor: Low

Base Score: 1.2

Temporal Score: 0.9

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

Temporal Vector: E:U/RL:OF/RC:C


Risk Factor: Low

Base Score: 2.5

Temporal Score: 2.2

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

Temporal Vector: E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:samba:samba

Required KB Items: SMB/NativeLanManager, SMB/samba, Settings/ParanoidReport

Exploit Ease: No known exploits are available

Patch Publication Date: 1/11/2022

Vulnerability Publication Date: 1/11/2022

Reference Information

CVE: CVE-2021-43566

IAVA: 2022-A-0020