CVE-2016-2124: A flaw was found in the way samba implemented SMB1 authentication.
Noroxi assessment
Priority: Monitor (action score 24/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 1.7% (FIRST EPSS); higher than 78.4% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. Special conditions such as timing or configuration are required.
- Fixed version: Azure Linux 3.0 ARM 4.18.3-1; Azure Linux 3.0 x64 4.18.3-1.
- Mentioned 6 times in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to Azure Linux 3.0 ARM 4.18.3-1; Azure Linux 3.0 x64 4.18.3-1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
A flaw was found in the way samba implemented SMB1 authentication. An attacker could use this flaw to retrieve the plaintext password sent over the wire even if Kerberos authentication was required.
- BDU:2021-05993
- ALSA-2021:5082
- DLA-3563-1
- DSA-5003-1
- openSUSE-SU-2021:1471-1
- openSUSE-SU-2021:3647-1
- openSUSE-SU-2021:3650-1
- openSUSE-SU-2021:3674-1
- openSUSE-SU-2024:11631-1
- RHSA-2021:4843
- RHSA-2021:4844
- RHSA-2021:5082
- RHSA-2021:5192
- RHSA-2022:0008
- RHSA-2022:0074
- RLSA-2021:5082
- SUSE-SU-2021:3647-1
- SUSE-SU-2021:3649-1
- SUSE-SU-2021:3650-1
- SUSE-SU-2021:3673-1
- Published
- Feb 18, 2022
- Updated
- Jun 16, 2026
- EPSS
- 1.7% · 78th percentile
- CWE
- CWE-287
Report tools
Action score
24
Low priority for now.
- CVSS
- 23 / 40 · 5.9 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 1.7%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| samba | samba | cpe:2.3:a:samba:samba |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| redhat | codeready linux builder | cpe:2.3:a:redhat:codeready_linux_builder |
| redhat | gluster storage | cpe:2.3:a:redhat:gluster_storage |
| redhat | openstack | cpe:2.3:a:redhat:openstack |
| redhat | virtualization host | cpe:2.3:a:redhat:virtualization_host |
| redhat | enterprise linux | cpe:2.3:o:redhat:enterprise_linux |
| redhat | enterprise linux desktop | cpe:2.3:o:redhat:enterprise_linux_desktop |
| redhat | enterprise linux eus | cpe:2.3:o:redhat:enterprise_linux_eus |
| redhat | enterprise linux for ibm z systems | cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems |
| redhat | enterprise linux for ibm z systems eus | cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems_eus |
and 12 more
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
n/a samba
- samba 4.15.2, samba 4.14.10, samba 4.13.14affected
Affected versions · NVD (20)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- canonical ubuntu linux18.04
- canonical ubuntu linux20.04
- canonical ubuntu linux21.04
- canonical ubuntu linux21.10
- debian debian linux10.0
- debian debian linux9.0
- fedoraproject fedora33
- fedoraproject fedora34
- fedoraproject fedora35
- redhat codeready linux builderall versions
- redhat enterprise linux7.0
- redhat enterprise linux8.0
- redhat enterprise linux desktop7.0
- redhat enterprise linux eus8.2
- redhat enterprise linux eus8.4
- redhat enterprise linux for ibm z systems7.0
- redhat enterprise linux for ibm z systems8.0
- redhat enterprise linux for ibm z systems eus8.2
- redhat enterprise linux for ibm z systems eus8.4
- redhat enterprise linux for power big endian7.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | libsmbclient-devel | before 4.14.5-7.el8_5 | 4.14.5-7.el8_5 |
| AlmaLinux:8 | libwbclient-devel | before 4.14.5-7.el8_5 | 4.14.5-7.el8_5 |
| AlmaLinux:8 | samba-devel | before 4.14.5-7.el8_5 | 4.14.5-7.el8_5 |
| AlmaLinux:8 | samba-vfs-iouring | before 4.14.5-7.el8_5 | 4.14.5-7.el8_5 |
| Alpine:v3.13 | samba | from 3.0.0 · before 4.13.17-r0 | 4.13.17-r0 |
| Alpine:v3.14 | samba | from 3.0.0 · before 4.14.12-r0 | 4.14.12-r0 |
| Alpine:v3.15 | samba | from 3.0.0 · before 4.15.2-r0 | 4.15.2-r0 |
| Debian:10 | samba | before 2:4.9.5+dfsg-5+deb10u4 | 2:4.9.5+dfsg-5+deb10u4 |
| Debian:11 | samba | before 2:4.13.13+dfsg-1~deb11u2 | 2:4.13.13+dfsg-1~deb11u2 |
| Debian:12 | samba | before 2:4.13.14+dfsg-1 | 2:4.13.14+dfsg-1 |
| openSUSE:Leap 15.2 | samba | before 4.11.14+git.308.666c63d4eea-lp152.3.28.1 | 4.11.14+git.308.666c63d4eea-lp152.3.28.1 |
| openSUSE:Leap 15.3 | ldb | before 2.2.2-3.3.1 | 2.2.2-3.3.1 |
| openSUSE:Leap 15.3 | samba | before 4.9.5+git.471.5edbe3dcae7-3.57.2 | 4.9.5+git.471.5edbe3dcae7-3.57.2 |
| openSUSE:Leap 15.3 | samba | before 4.13.13+git.528.140935f8d6a-3.12.1 | 4.13.13+git.528.140935f8d6a-3.12.1 |
| openSUSE:Leap 15.3 | samba | before 4.11.14+git.308.666c63d4eea-4.28.1 | 4.11.14+git.308.666c63d4eea-4.28.1 |
| openSUSE:Tumbleweed | samba | before 4.15.2+git.193.a4d6307f1fd-1.1 | 4.15.2+git.193.a4d6307f1fd-1.1 |
| Red Hat:enterprise_linux:7::client | libsmbclient | before 0:4.10.16-17.el7_9 | 0:4.10.16-17.el7_9 |
| Red Hat:enterprise_linux:7::client | libsmbclient-devel | before 0:4.10.16-17.el7_9 | 0:4.10.16-17.el7_9 |
| Red Hat:enterprise_linux:7::client | libwbclient | before 0:4.10.16-17.el7_9 | 0:4.10.16-17.el7_9 |
| Red Hat:enterprise_linux:7::client | libwbclient-devel | before 0:4.10.16-17.el7_9 | 0:4.10.16-17.el7_9 |
| Red Hat:enterprise_linux:7::client | samba | before 0:4.10.16-17.el7_9 | 0:4.10.16-17.el7_9 |
| Red Hat:enterprise_linux:7::client | samba-client | before 0:4.10.16-17.el7_9 | 0:4.10.16-17.el7_9 |
| Red Hat:enterprise_linux:7::client | samba-client-libs | before 0:4.10.16-17.el7_9 | 0:4.10.16-17.el7_9 |
| Red Hat:enterprise_linux:7::client | samba-common | before 0:4.10.16-17.el7_9 | 0:4.10.16-17.el7_9 |
+96
Same product
samba: all recordsOther highest-scoring records for the same primary product.
- CVE-2017-7494Samba since version 3.5.0 and before 4.6.4, 4.5.10 and 4.4.14 is vulnerable to remote code execution vulnerability, allowing a malicious…KEV99Now
- CVE-2015-0240The Netlogon server implementation in smbd in Samba 3.5.x and 3.6.x before 3.6.25, 4.0.x before 4.0.25, 4.1.x before 4.1.17, and 4.2.x…66This week
- CVE-2003-0085Buffer overflow in the SMB/CIFS packet fragment re-assembly code for SMB daemon (smbd) in Samba before 2.2.8, and Samba-TNG before 0.3.1…66This week
Published before and after this one in the same product
- ← EarlierCVE-2021-3671Oct 12, 2021 · A null pointer de-reference was found in the way samba kerberos server handled missing sname in TGS-REQ (Ticket Granting Server - Request).27Monitor
- ← EarlierCVE-2021-43566Jan 11, 2022 · All versions of Samba prior to 4.13.16 are vulnerable to a malicious client using an SMB1 or NFS race to allow a directory to be created in…10Monitor
- Later →CVE-2020-25717Feb 18, 2022 · A flaw was found in the way Samba maps domain users to local users.33Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Azure Linux 3.0 ARM | 4.18.3-1 · samba | Microsoft (MSRC) |
| Azure Linux 3.0 x64 | 4.18.3-1 · samba | Microsoft (MSRC) |
| almalinux:libsmbclient-devel | 4.14.5-7.el8_5 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:libwbclient-devel | 4.14.5-7.el8_5 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:samba-devel | 4.14.5-7.el8_5 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:samba-vfs-iouring | 4.14.5-7.el8_5 · AlmaLinux:8 | Package registry (OSV) |
| alpine:samba | 4.13.17-r0 · Alpine:v3.13 | Package registry (OSV) |
| debian:samba | 2:4.13.14+dfsg-1 · Debian:12 | Package registry (OSV) |
| opensuse:ldb | 2.2.2-3.3.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:samba | 4.11.14+git.308.666c63d4eea-lp152.3.28.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| red hat:ctdb | 0:4.14.5-204.el8rhgs · Red Hat:storage:3.5:samba:el8 | Package registry (OSV) |
| red hat:ctdb-debuginfo | 0:4.14.5-204.el8rhgs · Red Hat:storage:3.5:samba:el8 | Package registry (OSV) |
| red hat:libsmbclient | 0:4.14.5-204.el8rhgs · Red Hat:storage:3.5:samba:el8 | Package registry (OSV) |
| red hat:libsmbclient-debuginfo | 0:4.14.5-204.el8rhgs · Red Hat:storage:3.5:samba:el8 | Package registry (OSV) |
| red hat:libsmbclient-devel | 0:4.14.5-204.el8rhgs · Red Hat:storage:3.5:samba:el8 | Package registry (OSV) |
| red hat:libwbclient | 0:4.14.5-204.el8rhgs · Red Hat:storage:3.5:samba:el8 | Package registry (OSV) |
| red hat:libwbclient-debuginfo | 0:4.14.5-204.el8rhgs · Red Hat:storage:3.5:samba:el8 | Package registry (OSV) |
| red hat:libwbclient-devel | 0:4.14.5-204.el8rhgs · Red Hat:storage:3.5:samba:el8 | Package registry (OSV) |
| red hat:python3-samba | 0:4.14.5-204.el8rhgs · Red Hat:storage:3.5:samba:el8 | Package registry (OSV) |
| red hat:python3-samba-debuginfo | 0:4.14.5-204.el8rhgs · Red Hat:storage:3.5:samba:el8 | Package registry (OSV) |
| red hat:samba | 0:4.14.5-204.el8rhgs · Red Hat:storage:3.5:samba:el8 | Package registry (OSV) |
| red hat:samba-client | 0:4.14.5-204.el8rhgs · Red Hat:storage:3.5:samba:el8 | Package registry (OSV) |
| rocky linux:samba | 0:4.14.5-7.el8_5 · Rocky Linux:8 | Package registry (OSV) |
| suse:ldb | 2.2.2-3.3.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP3 | Package registry (OSV) |
| suse:samba | 4.13.13+git.528.140935f8d6a-3.12.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP3 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
- CVE-2021-441423 days apartThe Samba vfs_fruit module uses extended file attributes (EA, xattr) to provide "...enhanced compatibility with Apple SMB clients and…57Plan
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-22-0163 · Feb 21, 2022(Samba Güvenlik Zafiyeti)
- TR-22-0054 · Jan 18, 2022(RedHat Güvenlik Güncellemesi)
- TR-22-0050 · Jan 17, 2022(RedHat Güvenlik Güncellemesi)
- TR-22-0009 · Jan 5, 2022(RedHat Güvenlik Güncellemesi)
- TR-21-1006 · Dec 17, 2021(RedHat Güvenlik Güncellemesi)
- TR-21-0907 · Nov 10, 2021(Samba Güvenlik Güncellemesi)
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- high · data can be read
- Integrity
- none
- Availability
- none
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- None
- Availability impact
- None
Weakness class (CWE)
CWE-287 · Improper AuthenticationCVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
nvd-primary
Root cause
Authentication is added route by route instead of being enforced in one place. When a route added later bypasses the shared middleware, the session check never runs for it.
The bug in code
The whole CWE-287 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
app.use("/admin", requireSession, adminRouter);
// Route added later skips the middleware
app.post("/admin-api/config", updateConfig);Fixed
const admin = express.Router();
admin.use(requireSession, requireRole("admin"));
admin.post("/config", updateConfig);
app.use("/admin", admin);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Authentication AbuseCAPEC-114Medium
- Authentication BypassCAPEC-115Medium
- Identity SpoofingCAPEC-151likelihood: Medium · Medium
- Fake the Source of DataCAPEC-194Medium
- Exploiting Trust in ClientCAPEC-22likelihood: High · High
- Utilizing REST's Trust in the System Resource to Obtain Sensitive DataCAPEC-57likelihood: Medium · Very High
- Session HijackingCAPEC-593likelihood: High · Very High
- Token ImpersonationCAPEC-633Medium
ATT&CK techniques
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (3 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.