CVE-2021-20316
Published: 23 August 2022
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.
Notes
Author | Note |
---|---|
mdeslaur | per upstream, fixing this required a whole rewrite of the VFS layer and there is no reasonable way to fix this in older versions. Marking this CVE as ignored for older releases. |
Mitigation
This issue can be mitigated by disabling SMB1, which is the default configuration in Samba 4.11 and above. In environments where SMB1 cannot be disabled, symlink support can be disabled with unix extensions = no.
Priority
Severity score breakdown
Parameter | Value |
---|---|
Base score | 6.8 |
Attack vector | Network |
Attack complexity | High |
Privileges required | Low |
User interaction | None |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | High |
Availability impact | None |
Vector | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N |