Skip to content
Fencer Intel
medium 4.3

CVE-2022-3437 json

A heap-based buffer overflow vulnerability was found in Samba within the GSSAPI unwrap_des() and unwrap_des3() routines of Heimdal.

published 3y ago modified 4mo ago also EUVD-2022-42813

cvss
4.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
3.9%
EPSS 3.9% chance of exploitation in 30 days, percentile 90%
public exploits
0
none known

Summary

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.

Patch / fix

  • samba samba 4.15.11, 4.16.6, 4.17.2
  • samba Debian 14, Debian 13, Debian 12 2:4.16.6+dfsg-1
  • heimdal Debian 14, Debian 13, Debian 12 7.8.git20221115.a6cf945+dfsg-1

debian advisories DEBIAN-CVE-2022-3437

  • samba Ubuntu 20.04 LTS 2:4.15.13+dfsg-0ubuntu0.20.04.1
  • samba Ubuntu 22.04 LTS 2:4.15.13+dfsg-0ubuntu1
  • heimdal Ubuntu 18.04 LTS 7.5.0+dfsg-1ubuntu0.3
  • heimdal Ubuntu 20.04 LTS 7.7.0+dfsg-1ubuntu1.3
  • samba Ubuntu Pro 14.04 LTS 2:4.3.11+dfsg-0ubuntu0.14.04.20+esm13
  • samba Ubuntu Pro 16.04 LTS 2:4.3.11+dfsg-0ubuntu0.16.04.34+esm2
  • samba Ubuntu Pro 18.04 LTS 2:4.7.6+dfsg~ubuntu-0ubuntu2.29+esm1
  • heimdal Ubuntu Pro 14.04 LTS 1.6~git20131207+dfsg-1ubuntu1.2+esm3

ubuntu advisories UBUNTU-CVE-2022-3437

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • samba SLE Module for Basesystem 15 SP4, SLE Micro 5.3, SLE High Availability Extension 15 SP4 +2 more 4.15.13+git.591.ab36624310c-150400.3.19.1
  • samba SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 +1 more 4.15.13+git.482.1ac2c665c7-3.74.1
  • samba SLE Module for Python 2 15 SP3, SLE Module for Basesystem 15 SP3, SLE Micro 5.2 +4 more 4.15.12+git.535.7750e5c95ef-150300.3.43.1

suse advisories SUSE-SU-2023:0160-1SUSE-SU-2023:0081-1SUSE-SU-2022:4395-1

  • samba openSUSE Tumbleweed 4.17.2+git.273.a55a83528b9-1.1
  • libheimdal Package Hub 15 SP3, openSUSE Leap 15.3 7.8.0-bp153.2.4.1
  • libheimdal Package Hub 15 SP4, openSUSE Leap 15.4 7.8.0-bp154.2.4.1

opensuse advisories openSUSE-SU-2024:12454-1openSUSE-SU-2023:0020-1openSUSE-SU-2023:0019-1

  • samba Alpine 3.16, Alpine 3.15 4.15.12-r0
  • samba Alpine 3.24, Alpine 3.23, Alpine 3.22 +5 more 4.16.6-r0
  • heimdal Alpine 3.24, Alpine 3.23, Alpine 3.22 +8 more 7.7.1-r0

alpine advisories ALPINE-CVE-2022-3437

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • samba Azure Linux 3.0 4.18.3-1

azure linux advisories AZL-37016

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

  • samba Arch Linux 4.17.5-1

arch linux advisories AVG-2828

Is CVE-2022-3437 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-3437 updated cvss 5.9

samba: heap buffer overflow in GSSAPI unwrap_des() and unwrap_des3() routines of Heimdal

  • Red Hat Enterprise Linux 6 samba, samba4, samba4-dc, samba-swat, samba4-libs, samba4-pidl, +17 more Red Hat Enterprise Linux 7 ctdb, samba, samba-dc, ctdb-tests, samba-libs, samba-pidl, +18 more Red Hat Enterprise Linux 8 ctdb, samba, libnetapi, ctdb-tests, samba-libs, samba-pidl, +24 more Red Hat Enterprise Linux 9 ctdb, samba, libldb, ldb-tools, libnetapi, samba-libs, +27 more Red Hat Storage 3 ctdb, samba, samba-dc, ctdb-tests, samba-libs, samba-pidl, +21 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-24-046-11 updated cvss 6.5

Siemens SCALANCE XCM-/XRM-300

  • Siemens SCALANCE XCH328 (6GK5328-4TS01-2EC2) <V2.4 Siemens SCALANCE XCM324 (6GK5324-8TS01-2AC2) <V2.4 Siemens SCALANCE XCM328 (6GK5328-4TS01-2AC2) <V2.4 Siemens SCALANCE XCM332 (6GK5332-0GA01-2AC2) <V2.4 Siemens SCALANCE XRH334 (24 V DC, 8xFO, CC) (6GK5334-2TS01-2ER3) <V2.4 Siemens SCALANCE XRM334 (2x230 V AC, 8xFO) (6GK5334-2TS01-4AR3) <V2.4
    +5 more products
    Siemens SCALANCE XRM334 (2x230 V AC, 12xFO) (6GK5334-3TS01-4AR3) <V2.4 Siemens SCALANCE XRM334 (24 V DC, 8xFO) (6GK5334-2TS01-2AR3) <V2.4 Siemens SCALANCE XRM334 (24 V DC, 12xFO) (6GK5334-3TS01-2AR3) <V2.4 Siemens SCALANCE XRM334 (230 V AC, 8xFO) (6GK5334-2TS01-3AR3) <V2.4 Siemens SCALANCE XRM334 (230 V AC, 12xFO) (6GK5334-3TS01-3AR3) <V2.4
    affected: fixed in V2.4 support.industry.siemens.com

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2y ago

Exploit prediction

3.86% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
CISA ADP 3.1 4.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
NVD 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CNA 3.1 4.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

Affected products

  • n/a samba
  • samba samba

Classification

Weakness
  • CWE-122 Heap-based Buffer Overflow

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.