cve.bz

CVE-2022-3437 Heap-based Buffer Overflow

6.5 mediumEPSS 4.0%

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

On this page
A heap-based buffer overflow vulnerability was found in Samba within the GSSAPI unwrap_des() and unwrap_des3() routines of Heimdal. The DES and Triple-DES decryption routines in the Heimdal GSSAPI library allow a length-limited write buffer overflow on malloc() allocated memory when presented with a maliciously small packet. This flaw allows a remote user to send specially crafted malicious data to the application, possibly resulting in a denial of service (DoS) attack.

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
4.0% (unchanged from 4.0% a week ago; 3.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 91st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-04-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-122 Heap-based Buffer Overflow
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-2022-3437 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-3437?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-3437?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-2022-3437 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:sambafrom 4.0.0 before 4.15.11
samba:sambafrom 4.16.0 before 4.16.6
samba:sambafrom 4.17.0 before 4.17.2
fedoraproject:fedora36
fedoraproject:fedora37

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10heimdal7.5.0+dfsg-3+deb10u1DLA-3206-1
Debian10samba2:4.9.5+dfsg-5+deb10u5DLA-3792-1
Debian11heimdal7.7.0+dfsg-2+deb11u2DSA-5287-1
Debian11samba2:4.13.13+dfsg-1~deb11u6DSA-5647-1
Debian12, 13, 14heimdal7.8.git20221115.a6cf945+dfsg-1DEBIAN-CVE-2022-3437
Debian12, 13, 14samba2:4.16.6+dfsg-1DEBIAN-CVE-2022-3437
Ubuntu18.04:LTSheimdal7.5.0+dfsg-1ubuntu0.3UBUNTU-CVE-2022-3437 USN-5800-1
Ubuntu20.04:LTSheimdal7.7.0+dfsg-1ubuntu1.3UBUNTU-CVE-2022-3437 USN-5800-1
Ubuntu20.04:LTSsamba2:4.15.13+dfsg-0ubuntu0.20.04.1UBUNTU-CVE-2022-3437 USN-5822-1 USN-5936-1
Ubuntu22.04:LTSheimdalno fix listedUBUNTU-CVE-2022-3437
Ubuntu22.04:LTSsamba2:4.15.13+dfsg-0ubuntu1UBUNTU-CVE-2022-3437 USN-5822-1
UbuntuPro:14.04:LTSheimdal1.6~git20131207+dfsg-1ubuntu1.2+esm3UBUNTU-CVE-2022-3437 USN-5800-1
UbuntuPro:14.04:LTSsamba2:4.3.11+dfsg-0ubuntu0.14.04.20+esm13UBUNTU-CVE-2022-3437 USN-7582-1
UbuntuPro:16.04:LTSheimdal1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm3UBUNTU-CVE-2022-3437 USN-5800-1
UbuntuPro:16.04:LTSsamba2:4.3.11+dfsg-0ubuntu0.16.04.34+esm2UBUNTU-CVE-2022-3437 USN-7582-1
UbuntuPro:18.04:LTSsamba2:4.7.6+dfsg~ubuntu-0ubuntu2.29+esm1UBUNTU-CVE-2022-3437 USN-7582-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Availability Extension 15 SP3, Linux Enterprise Micro 5.2 and 2 moresamba4.15.12+git.535.7750e5c95ef-150300.3.43.1SUSE-SU-2022:4395-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5 and 1 moresamba4.15.13+git.482.1ac2c665c7-3.74.1SUSE-SU-2023:0081-1
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Micro 5.3, Linux Enterprise Module for Basesystem 15 SP4samba4.15.13+git.591.ab36624310c-150400.3.19.1SUSE-SU-2023:0160-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.3, Leap Micro 5.2samba4.15.12+git.535.7750e5c95ef-150300.3.43.1SUSE-SU-2022:4395-1
openSUSELeap 15.4libheimdal7.8.0-bp154.2.4.1openSUSE-SU-2023:0019-1
openSUSELeap 15.4, Leap Micro 5.3samba4.15.13+git.591.ab36624310c-150400.3.19.1SUSE-SU-2023:0160-1
openSUSETumbleweedsamba4.17.2+git.273.a55a83528b9-1.1openSUSE-SU-2024:12454-1
Alpinev3.14, v3.15, v3.16 and 8 moreheimdal7.7.1-r0ALPINE-CVE-2022-3437
Alpinev3.15, v3.16samba4.15.12-r0ALPINE-CVE-2022-3437
Alpinev3.17, v3.18, v3.19 and 5 moresamba4.16.6-r0ALPINE-CVE-2022-3437
Azure Linux2sambano fix listedAZL-12995
Azure Linux3samba4.18.3-1AZL-37016

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

Samba in RHEL is not compiled to use the Heimdal Kerberos library.

Versions of Samba shipped in Red Hat Enterprise Linux are compiled to use the system MIT Kerberos using the "--with-system-mitkrb5" argument, and these installations are not impacted, as the vulnerable code is not compiled into Samba.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6sambaNot affected
Red Hat Enterprise Linux 6samba4Not affected
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-2022-3437.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-046-11Siemens SCALANCE XCM-/XRM-3002024-02-13MultipleSCALANCE XCH328 (6GK5328-4TS01-2EC2), SCALANCE XCM324 (6GK5324-8TS01-2AC2), SCALANCE XCM328 (6GK5328-4TS01-2AC2) and 8 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON