CVE-2019-3880
samba: save registry file outside share as unprivileged user
Severity
ModerateRed Hat Product Security
CVSS 3.0
Review impact separately from score.
Published · April 9, 2019
Updated · November 2, 2026
Description
A flaw was found in the way samba implemented an RPC endpoint emulating the Windows registry service API. An unprivileged attacker could use this flaw to create a new registry hive file anywhere they have unix permissions which could lead to creation of a new file in the Samba share.
Statement
This issue affects the version of samba shipped with Red Hat Gluster Storage 3, as it contains the vulnerable functionality.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Either turn off SMB1 by setting the global parameter: 'min protocol = SMB2' or if SMB1 is required turn off unix extensions by setting the global parameter: 'unix extensions = no' in the smb.conf file.
CVSS / CWE
CVSS 3.0 · 4.2CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory