Medium severity · published Aug 23, 2022
CVE-2021-20316
A flaw was found in the way Samba handled file/directory metadata
6.8
CVSS
1%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Attack vector
Network
Complexity
High
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.0% · higher than 64% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DL
Debian Linux · Debian
10.0; 11.0 · source: NVD
EL
Enterprise Linux · Redhat
8.0 · source: NVD
EL
Enterprise Linux Aus · Redhat
8.6 · source: NVD
EL
Enterprise Linux Eus · Redhat
8.6 · source: NVD
EL
Enterprise Linux Tus · Redhat
8.6 · source: NVD
SA
Samba · Samba
before 4.15.0 · source: NVD
VH
Virtualization Host · Redhat
4.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-20316
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-20316
Third Party Advisory
https://access.redhat.com/security/cve/CVE-2021-20316
Issue Tracking
https://bugzilla.redhat.com/show_bug.cgi?id=2009673
Issue Tracking
https://bugzilla.samba.org/show_bug.cgi?id=14842
Mitigation
https://security-tracker.debian.org/tracker/CVE-2021-20316
security.gentoo.org
https://security.gentoo.org/glsa/202309-06
Vendor Advisory
https://www.samba.org/samba/security/CVE-2021-20316.html
More from Debian Linux
10.0
CVE-2025-32433
Erlang/OTP SSH Vulnerable to Pre-Authentication RCE
10.0
CVE-2025-24201
Apple Multiple Products WebKit Out-of-Bounds Write Vulnerability
10.0
CVE-2021-44228
Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints
10.0
CVE-2015-3306
ProFTPD Improper Access Control Vulnerability
9.8
CVE-2026-111497
Out-of-Bounds Write in Google Brotli Decoder
