What’s Vulnerable › Vulnerabilities
CVE-2021-20316
- Severity: medium (CVSS 6.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.0% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-08-23 · updated 2026-06-17
- Weakness: CWE-362
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.
Affected products
- Debian Linux: 10.0, 11.0
- Red Hat Enterprise Linux: 8.0
- RedHat Enterprise Linux Aus: 8.6
- RedHat Enterprise Linux Eus: 8.6
- RedHat Enterprise Linux Tus: 8.6
- RedHat Virtualization Host: 4.0
- Samba: before 4.15.0 — fixed in 4.15.0
How to fix
Upgrade to a fixed version: Samba 4.15.0. Check the vendor advisory for mitigations.
References
- https://access.redhat.com/security/cve/CVE-2021-20316
- https://bugzilla.redhat.com/show_bug.cgi?id=2009673
- https://bugzilla.samba.org/show_bug.cgi?id=14842
- https://security-tracker.debian.org/tracker/CVE-2021-20316
- https://security.gentoo.org/glsa/202309-06
- https://www.samba.org/samba/security/CVE-2021-20316.html
- https://access.redhat.com/security/cve/CVE-2021-20316
- https://bugzilla.redhat.com/show_bug.cgi?id=2009673
- https://bugzilla.samba.org/show_bug.cgi?id=14842
- https://security-tracker.debian.org/tracker/CVE-2021-20316
- https://security.gentoo.org/glsa/202309-06
- https://www.samba.org/samba/security/CVE-2021-20316.html
Get alerted when CVE-2021-20316 or the next vulnerability affects your stack