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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | heimdal | 7.7.1-r0 | ALPINE-CVE-2022-3437 |
| Alpine:v3.21 | heimdal | 7.7.1-r0 | ALPINE-CVE-2022-3437 |
| Alpine:v3.22 | heimdal | 7.7.1-r0 | ALPINE-CVE-2022-3437 |
| Alpine:v3.23 | heimdal | 7.7.1-r0 | ALPINE-CVE-2022-3437 |
| Alpine:v3.24 | heimdal | 7.7.1-r0 | ALPINE-CVE-2022-3437 |
| Alpine:v3.20 | samba | 4.16.6-r0 | ALPINE-CVE-2022-3437 |
| Alpine:v3.21 | samba | 4.16.6-r0 | ALPINE-CVE-2022-3437 |
| Alpine:v3.22 | samba | 4.16.6-r0 | ALPINE-CVE-2022-3437 |
| Alpine:v3.23 | samba | 4.16.6-r0 | ALPINE-CVE-2022-3437 |
| Alpine:v3.24 | samba | 4.16.6-r0 | ALPINE-CVE-2022-3437 |
| Debian:12 | heimdal | 7.8.git20221115.a6cf945+dfsg-1 | DEBIAN-CVE-2022-3437 |
| Debian:13 | heimdal | 7.8.git20221115.a6cf945+dfsg-1 | DEBIAN-CVE-2022-3437 |
| Debian:14 | heimdal | 7.8.git20221115.a6cf945+dfsg-1 | DEBIAN-CVE-2022-3437 |
| Debian:12 | samba | 2:4.16.6+dfsg-1 | DEBIAN-CVE-2022-3437 |
| Debian:13 | samba | 2:4.16.6+dfsg-1 | DEBIAN-CVE-2022-3437 |
| Debian:14 | samba | 2:4.16.6+dfsg-1 | DEBIAN-CVE-2022-3437 |
| Ubuntu:22.04:LTS | heimdal | no fix listed | UBUNTU-CVE-2022-3437 |
| Ubuntu:22.04:LTS | samba | 2:4.15.13+dfsg-0ubuntu1 | UBUNTU-CVE-2022-3437 |
| Ubuntu:22.04:LTS | samba | 2:4.15.13+dfsg-0ubuntu1 | USN-5822-1 |
Affected products (as reported)
Weakness: CWE-122 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2137774
- https://www.samba.org/samba/security/CVE-2022-3437.html
- https://access.redhat.com/security/cve/CVE-2022-3437
- [oss-security] 20230208 [vs] heimdal: CVE-2022-45142: signature validation failure mailing-list
- https://security.netapp.com/advisory/ntap-20230216-0008/
- GLSA-202309-06 vendor-advisory
- GLSA-202310-06 vendor-advisory
- [debian-lts-announce] 20240422 [SECURITY] [DLA 3792-1] samba security update mailing-list