CVE-2021-20316 Race condition in samba
An authenticated attacker can exploit a race condition in Samba to read or modify file metadata outside the intended share boundaries.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-20316?
CVE-2021-20316 is a medium-severity vulnerability in Debian Debian Linux, published on 23 Aug 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-362
Which versions are affected by CVE-2021-20316?
It affects 7 products.
Products include Debian Debian Linux, Redhat Enterprise Linux, Redhat Enterprise Linux Aus, Redhat Enterprise Linux Eus, Redhat Enterprise Linux Tus, Redhat Virtualization Host and 1 more.
How do I fix CVE-2021-20316?
Apply the vendor's patch.
Is CVE-2021-20316 being exploited?
There is no known exploitation of CVE-2021-20316 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as AZL-10652, AZL-37001, DEBIAN-CVE-2021-20316, ECHO-4d1b-025a-dc40, GHSA-88fw-cm3w-8cq5, UBUNTU-CVE-2021-20316.