# CVE-2021-20316: A flaw was found in the way Samba handled file/directory metadata.

- Severity: Medium 6.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.10%, higher than 66% of CVEs (2026-12-01)
- Published: 2022-08-23T00:00:00.000Z
- Modified: 2026-06-17T03:33:39.623Z
- Weaknesses: CWE-362
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- samba: Affects samba file server before v4.15.0, Fixed in samba v4.15.0
- samba samba: before 4.15.0
- debian debian_linux: 10.0; 11.0
- redhat virtualization_host: 4.0
- redhat enterprise_linux: 8.0
- redhat enterprise_linux_aus: 8.6
- redhat enterprise_linux_eus: 8.6
- redhat enterprise_linux_tus: 8.6

## References

- <https://bugzilla.samba.org/show_bug.cgi?id=14842> (issue-tracking, vendor-advisory)
- <https://www.samba.org/samba/security/CVE-2021-20316.html> (vendor-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2009673> (issue-tracking, third-party-advisory)
- <https://access.redhat.com/security/cve/CVE-2021-20316> (third-party-advisory)
- <https://security-tracker.debian.org/tracker/CVE-2021-20316> (mitigation, third-party-advisory)
- <https://security.gentoo.org/glsa/202309-06> (vendor-advisory)

## Sources

- CVE List: [CVE-2021-20316](https://www.cve.org/CVERecord?id=CVE-2021-20316), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-20316](https://nvd.nist.gov/vuln/detail/CVE-2021-20316), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-20316 · Whole record: https://cve.day/CVE-2021-20316.json · Rebuilt by cve.day 2026-11-25T22:58:07.768Z
