CVE-2021-20316
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
02 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
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 1.04% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 63.4% of scored records. A rank, not a probability.
- NVD base score
- 6.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2022-08-23 00:00Z4 YR AGO
- Last updated
- 2024-08-03 17:37Z2 YR AGO
- Reserved
- 2020-12-17
- Assigning CNA
- redhat
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-362Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')Class
- Data version
- 5.1
- Document digest
- d3e35e4232b918b08e0a6d92a6e9018bc0ed26d36f0ef5de70c1b760c8912a48
05 Affected products
06 References
- bugzilla.samba.orghttps://bugzilla.samba.org/show_bug.cgi?id=14842
- www.samba.orghttps://www.samba.org/samba/security/CVE-2021-20316.html
- bugzilla.redhat.comhttps://bugzilla.redhat.com/show_bug.cgi?id=2009673
- access.redhat.comhttps://access.redhat.com/security/cve/CVE-2021-20316
- security-tracker.debian.orghttps://security-tracker.debian.org/tracker/CVE-2021-20316
- security.gentoo.orgGLSA-202309-06https://security.gentoo.org/glsa/202309-06
07 Fixed in
AlmaLinux 8
- ctdb Fixed in 4.15.5-5.el8
- libsmbclient Fixed in 4.15.5-5.el8
- libsmbclient-devel Fixed in 4.15.5-5.el8
- libwbclient Fixed in 4.15.5-5.el8
- libwbclient-devel Fixed
A version is affected if any line below covers it.
- Affected before 4.15.5-5.el8
- Affected before 4.15.5-8.el8_6
- python3-samba Fixed in 4.15.5-5.el8
- python3-samba-test Fixed in 4.15.5-5.el8
- samba Fixed in 4.15.5-5.el8
- samba-client Fixed in 4.15.5-5.el8
- samba-client-libs Fixed in 4.15.5-5.el8
- samba-common Fixed in 4.15.5-5.el8
- samba-common-libs Fixed in 4.15.5-5.el8
- samba-common-tools Fixed in 4.15.5-5.el8
- samba-devel Fixed in 4.15.5-5.el8
- samba-krb5-printing Fixed in 4.15.5-5.el8
- samba-libs Fixed in 4.15.5-5.el8
- samba-pidl Fixed in 4.15.5-5.el8
- samba-test Fixed in 4.15.5-5.el8
- samba-test-libs Fixed in 4.15.5-5.el8
- samba-vfs-iouring Fixed in 4.15.5-5.el8
- samba-winbind Fixed in 4.15.5-5.el8
- samba-winbind-clients Fixed in 4.15.5-5.el8
- samba-winbind-krb5-locator Fixed in 4.15.5-5.el8
- samba-winbind-modules Fixed in 4.15.5-5.el8
- samba-winexe Fixed in 4.15.5-5.el8
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 8
- ctdb Fixed in 4.15.5-5.el8
- libsmbclient Fixed in 4.15.5-5.el8
- libsmbclient-devel Fixed in 4.15.5-5.el8
- libwbclient Fixed in 4.15.5-5.el8
- libwbclient-devel Fixed
A version is affected if any line below covers it.
- Affected before 4.15.5-5.el8
- Affected before 4.15.5-8.el8_6
- python3-samba Fixed in 4.15.5-5.el8
- python3-samba-test Fixed in 4.15.5-5.el8
- samba Fixed in 4.15.5-5.el8
- samba-client Fixed in 4.15.5-5.el8
- samba-client-libs Fixed in 4.15.5-5.el8
- samba-common Fixed in 4.15.5-5.el8
- samba-common-libs Fixed in 4.15.5-5.el8
- samba-common-tools Fixed in 4.15.5-5.el8
- samba-devel Fixed in 4.15.5-5.el8
- samba-krb5-printing Fixed in 4.15.5-5.el8
- samba-libs Fixed in 4.15.5-5.el8
- samba-pidl Fixed in 4.15.5-5.el8
- samba-test Fixed in 4.15.5-5.el8
- samba-test-libs Fixed in 4.15.5-5.el8
- samba-vfs-iouring Fixed in 4.15.5-5.el8
- samba-winbind Fixed in 4.15.5-5.el8
- samba-winbind-clients Fixed in 4.15.5-5.el8
- samba-winbind-krb5-locator Fixed in 4.15.5-5.el8
- samba-winbind-modules Fixed in 4.15.5-5.el8
- samba-winexe Fixed in 4.15.5-5.el8
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- samba Fixed in 2:4.16.0+dfsg-2
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- samba Fixed in 2:4.16.0+dfsg-2
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- samba Fixed in 2:4.16.0+dfsg-2
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- samba No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- samba No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- samba No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 18.04 LTS
- samba No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 20.04 LTS
- samba No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.