Vulnerability · Published Jan 12, 2023 · Assigned by redhat

CVE-2022-3437

Medium 4.3

In plain English

A medium-severity heap buffer overflow in samba. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.8% (higher than 90% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.3Medium
Exploit odds (30 days)3.8%top 9.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20heimdal7.7.1-r0ALPINE-CVE-2022-3437
Alpine:v3.21heimdal7.7.1-r0ALPINE-CVE-2022-3437
Alpine:v3.22heimdal7.7.1-r0ALPINE-CVE-2022-3437
Alpine:v3.23heimdal7.7.1-r0ALPINE-CVE-2022-3437
Alpine:v3.24heimdal7.7.1-r0ALPINE-CVE-2022-3437
Alpine:v3.20samba4.16.6-r0ALPINE-CVE-2022-3437
Alpine:v3.21samba4.16.6-r0ALPINE-CVE-2022-3437
Alpine:v3.22samba4.16.6-r0ALPINE-CVE-2022-3437
Alpine:v3.23samba4.16.6-r0ALPINE-CVE-2022-3437
Alpine:v3.24samba4.16.6-r0ALPINE-CVE-2022-3437
Debian:12heimdal7.8.git20221115.a6cf945+dfsg-1DEBIAN-CVE-2022-3437
Debian:13heimdal7.8.git20221115.a6cf945+dfsg-1DEBIAN-CVE-2022-3437
Debian:14heimdal7.8.git20221115.a6cf945+dfsg-1DEBIAN-CVE-2022-3437
Debian:12samba2:4.16.6+dfsg-1DEBIAN-CVE-2022-3437
Debian:13samba2:4.16.6+dfsg-1DEBIAN-CVE-2022-3437
Debian:14samba2:4.16.6+dfsg-1DEBIAN-CVE-2022-3437
Ubuntu:22.04:LTSheimdalno fix listedUBUNTU-CVE-2022-3437
Ubuntu:22.04:LTSsamba2:4.15.13+dfsg-0ubuntu1UBUNTU-CVE-2022-3437
Ubuntu:22.04:LTSsamba2:4.15.13+dfsg-0ubuntu1USN-5822-1

Affected products (as reported)

VendorProductVersions
n/a samba Fixed in samba 4.15.11, samba 4.16.6, samba 4.17.2.

Weakness: CWE-122 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

References