cve.bz

CVE-2021-3671 NULL Pointer Dereference

6.5 mediumEPSS 2.1%Fix available

Medium (6.5). EPSS 2.1% estimated probability of exploitation activity in the next 30 days.

On this page
A null pointer de-reference was found in the way samba kerberos server handled missing sname in TGS-REQ (Ticket Granting Server - Request). An authenticated user could use this flaw to crash the samba server.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
2.1% (unchanged from 2.1% a week ago; 2.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 82nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-476 NULL Pointer Dereference
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-3671 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-3671?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-3671?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-3671 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
samba:sambabefore 4.13.12
samba:sambafrom 4.14.0 before 4.14.8
debian:debian_linux10.0
debian:debian_linux11.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10heimdal7.5.0+dfsg-3+deb10u1DLA-3206-1
Debian11heimdal7.7.0+dfsg-2+deb11u2DSA-5287-1
Debian12, 13, 14heimdal7.7.0+dfsg-3DEBIAN-CVE-2021-3671
Debian12, 13, 14samba2:4.13.13+dfsg-1DEBIAN-CVE-2021-3671
Ubuntu18.04:LTSheimdal7.5.0+dfsg-1ubuntu0.1UBUNTU-CVE-2021-3671 USN-5675-1
Ubuntu18.04:LTSsamba2:4.7.6+dfsg~ubuntu-0ubuntu2.26UBUNTU-CVE-2021-3671 USN-5174-1
Ubuntu20.04:LTSheimdal7.7.0+dfsg-1ubuntu1.1UBUNTU-CVE-2021-3671 USN-5675-1
Ubuntu20.04:LTSsamba2:4.13.14+dfsg-0ubuntu0.20.04.1UBUNTU-CVE-2021-3671 USN-5142-1
Ubuntu22.04:LTSsamba2:4.13.14+dfsg-0ubuntu1UBUNTU-CVE-2021-3671
UbuntuPro:14.04:LTSheimdal1.6~git20131207+dfsg-1ubuntu1.2+esm1UBUNTU-CVE-2021-3671 USN-5675-1
UbuntuPro:14.04:LTS, Pro:16.04:LTSsambano fix listedUBUNTU-CVE-2021-3671
UbuntuPro:16.04:LTSheimdal1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm1UBUNTU-CVE-2021-3671 USN-5675-1
SUSEPackage Hub 15 SP3libheimdal7.8.0-bp153.2.4.1openSUSE-SU-2023:0020-1
SUSEPackage Hub 15 SP4libheimdal7.8.0-bp154.2.4.1openSUSE-SU-2023:0019-1
openSUSELeap 15.3libheimdal7.8.0-bp153.2.4.1openSUSE-SU-2023:0020-1
openSUSELeap 15.4libheimdal7.8.0-bp154.2.4.1openSUSE-SU-2023:0019-1
Alpinev3.14samba4.14.8-r0ALPINE-CVE-2021-3671
Alpinev3.14, v3.15, v3.16 and 8 moreheimdal7.7.1-r0ALPINE-CVE-2021-3671
Alpinev3.15, v3.16, v3.17 and 7 moresamba4.15.0-r0ALPINE-CVE-2021-3671
Azure Linux2sambano fix listedAZL-7354
Azure Linux3samba4.18.3-1AZL-37004

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Versions of samba package shipped with Red Hat products do not embed the affected Heimdal code and therefore are not affected by this flaw.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7sambaNot affected
Red Hat Enterprise Linux 8sambaNot affected
Red Hat Enterprise Linux 9sambaNot affected
Red Hat Storage 3sambaNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-3671.

References

Check your stackJSON