CVE-2020-25719: A flaw was found in the way Samba, as an Active Directory Domain Controller, implemented Kerberos name-based authentication.
Noroxi assessment
Priority: Monitor (action score 29/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.6% (FIRST EPSS); higher than 77.1% of all records.
- Anyone who can reach it over the internet can trigger it. Administrator privileges are required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Azure Linux 3.0 ARM 4.18.3-1; Azure Linux 3.0 x64 4.18.3-1.
- Mentioned 4 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, as an Active Directory Domain Controller, implemented Kerberos name-based authentication. The Samba AD DC, could become confused about the user a ticket represents if it did not strictly require a Kerberos PAC and always use the SIDs found within. The result could include total domain compromise.
- Published
- Feb 18, 2022
- Updated
- Jun 16, 2026
- EPSS
- 1.6% · 77th percentile
- CWE
- CWE-287
Report tools
Action score
29
Low priority for now.
- CVSS
- 28 / 40 · 7.2 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 1.6%
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 |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| 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 |
| redhat | enterprise linux for power big endian | cpe:2.3:o:redhat:enterprise_linux_for_power_big_endian |
| redhat | enterprise linux for power little endian | cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian |
| redhat | enterprise linux for power little endian eus | cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian_eus |
and 5 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 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 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
- redhat enterprise linux for power little endian7.0
- redhat enterprise linux for power little endian8.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 | bind-dyndb-ldap | before 11.6-2.module_el8.5.0+2603+92118e57 | 11.6-2.module_el8.5.0+2603+92118e57 |
| AlmaLinux:8 | custodia | before 0.6.0-3.module_el8.6.0+2881+2f24dc92 | 0.6.0-3.module_el8.6.0+2881+2f24dc92 |
| AlmaLinux:8 | custodia | before 0.6.0-3.module_el8.5.0+2603+92118e57 | 0.6.0-3.module_el8.5.0+2603+92118e57 |
| AlmaLinux:8 | ipa-client | before 4.9.6-10.module_el8.5.0+2603+92118e57 | 4.9.6-10.module_el8.5.0+2603+92118e57 |
| AlmaLinux:8 | ipa-client-common | before 4.9.6-10.module_el8.5.0+2603+92118e57 | 4.9.6-10.module_el8.5.0+2603+92118e57 |
| AlmaLinux:8 | ipa-client-epn | before 4.9.6-10.module_el8.5.0+2603+92118e57 | 4.9.6-10.module_el8.5.0+2603+92118e57 |
| AlmaLinux:8 | ipa-client-samba | before 4.9.6-10.module_el8.5.0+2603+92118e57 | 4.9.6-10.module_el8.5.0+2603+92118e57 |
| AlmaLinux:8 | ipa-common | before 4.9.6-10.module_el8.5.0+2603+92118e57 | 4.9.6-10.module_el8.5.0+2603+92118e57 |
| AlmaLinux:8 | ipa-healthcheck | before 0.7-6.module_el8.5.0+2603+92118e57 | 0.7-6.module_el8.5.0+2603+92118e57 |
| AlmaLinux:8 | ipa-healthcheck-core | before 0.7-6.module_el8.5.0+2603+92118e57 | 0.7-6.module_el8.5.0+2603+92118e57 |
| AlmaLinux:8 | ipa-python-compat | before 4.9.6-10.module_el8.5.0+2603+92118e57 | 4.9.6-10.module_el8.5.0+2603+92118e57 |
| AlmaLinux:8 | ipa-selinux | before 4.9.6-10.module_el8.5.0+2603+92118e57 | 4.9.6-10.module_el8.5.0+2603+92118e57 |
| AlmaLinux:8 | ipa-server | before 4.9.6-10.module_el8.5.0+2603+92118e57 | 4.9.6-10.module_el8.5.0+2603+92118e57 |
| AlmaLinux:8 | ipa-server-common | before 4.9.6-10.module_el8.5.0+2603+92118e57 | 4.9.6-10.module_el8.5.0+2603+92118e57 |
| AlmaLinux:8 | ipa-server-dns | before 4.9.6-10.module_el8.5.0+2603+92118e57 | 4.9.6-10.module_el8.5.0+2603+92118e57 |
| AlmaLinux:8 | ipa-server-trust-ad | before 4.9.6-10.module_el8.5.0+2603+92118e57 | 4.9.6-10.module_el8.5.0+2603+92118e57 |
| AlmaLinux:8 | opendnssec | before 2.1.7-1.module_el8.6.0+2881+2f24dc92 | 2.1.7-1.module_el8.6.0+2881+2f24dc92 |
| AlmaLinux:8 | opendnssec | before 2.1.7-1.module_el8.5.0+2603+92118e57 | 2.1.7-1.module_el8.5.0+2603+92118e57 |
| AlmaLinux:8 | python3-custodia | before 0.6.0-3.module_el8.6.0+2881+2f24dc92 | 0.6.0-3.module_el8.6.0+2881+2f24dc92 |
| AlmaLinux:8 | python3-custodia | before 0.6.0-3.module_el8.5.0+2603+92118e57 | 0.6.0-3.module_el8.5.0+2603+92118e57 |
| AlmaLinux:8 | python3-ipaclient | before 4.9.6-10.module_el8.5.0+2603+92118e57 | 4.9.6-10.module_el8.5.0+2603+92118e57 |
| AlmaLinux:8 | python3-ipalib | before 4.9.6-10.module_el8.5.0+2603+92118e57 | 4.9.6-10.module_el8.5.0+2603+92118e57 |
| AlmaLinux:8 | python3-ipaserver | before 4.9.6-10.module_el8.5.0+2603+92118e57 | 4.9.6-10.module_el8.5.0+2603+92118e57 |
| AlmaLinux:8 | python3-ipatests | before 4.9.6-10.module_el8.5.0+2603+92118e57 | 4.9.6-10.module_el8.5.0+2603+92118e57 |
+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-2020-25717Feb 18, 2022 · A flaw was found in the way Samba maps domain users to local users.33Monitor
- ← EarlierCVE-2020-25718Feb 18, 2022 · A flaw was found in the way samba, as an Active Directory Domain Controller, is able to support an RODC (read-only domain controller).36Monitor
- Later →CVE-2020-25722Feb 18, 2022 · Multiple flaws were found in the way samba AD DC implemented access and conformance checking of stored data.35Monitor
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:bind-dyndb-ldap | 11.6-2.module_el8.5.0+2603+92118e57 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:custodia | 0.6.0-3.module_el8.6.0+2881+2f24dc92 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:ipa-client | 4.9.6-10.module_el8.5.0+2603+92118e57 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:ipa-client-common | 4.9.6-10.module_el8.5.0+2603+92118e57 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:ipa-client-epn | 4.9.6-10.module_el8.5.0+2603+92118e57 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:ipa-client-samba | 4.9.6-10.module_el8.5.0+2603+92118e57 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:ipa-common | 4.9.6-10.module_el8.5.0+2603+92118e57 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:ipa-healthcheck | 0.7-6.module_el8.5.0+2603+92118e57 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:ipa-healthcheck-core | 0.7-6.module_el8.5.0+2603+92118e57 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:ipa-python-compat | 4.9.6-10.module_el8.5.0+2603+92118e57 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:ipa-selinux | 4.9.6-10.module_el8.5.0+2603+92118e57 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:ipa-server | 4.9.6-10.module_el8.5.0+2603+92118e57 · 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.13.13+git.528.140935f8d6a-3.12.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| red hat:bind-dyndb-ldap | 0:11.6-2.module+el8.4.0+9328+4ec4e316 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:bind-dyndb-ldap-debuginfo | 0:11.6-2.module+el8.4.0+9328+4ec4e316 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:bind-dyndb-ldap-debugsource | 0:11.6-2.module+el8.4.0+9328+4ec4e316 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:custodia | 0:0.6.0-3.module+el8.1.0+4098+f286395e · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:ipa | 0:4.9.6-10.module+el8.5.0+13587+92118e57 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:ipa-client | 0:4.9.6-10.module+el8.5.0+13587+92118e57 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:ipa-client-common | 0:4.9.6-10.module+el8.5.0+13587+92118e57 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:ipa-client-debuginfo | 0:4.9.6-10.module+el8.5.0+13587+92118e57 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:ipa-client-epn | 0:4.9.6-10.module+el8.5.0+13587+92118e57 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:ipa-client-samba | 0:4.9.6-10.module+el8.5.0+13587+92118e57 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:ipa-common | 0:4.9.6-10.module+el8.5.0+13587+92118e57 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:ipa-debuginfo | 0:4.9.6-10.module+el8.5.0+13587+92118e57 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
+14
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-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.
- Administrator privileges are required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- High
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-287 · Improper AuthenticationCVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
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 (2 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.