CVE-2022-3437 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 lib...
MediumCVSS 6.5
EPSS 4.0%
- Published
- Updated
- Exploit status
- No public exploit known
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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/heimdal(Debian:12) | < 7.8.git20221115.a6cf945+dfsg-1 | 7.8.git20221115.a6cf945+dfsg-1 |
| debian/heimdal(Debian:13) | < 7.8.git20221115.a6cf945+dfsg-1 | 7.8.git20221115.a6cf945+dfsg-1 |
| debian/heimdal(Debian:14) | < 7.8.git20221115.a6cf945+dfsg-1 | 7.8.git20221115.a6cf945+dfsg-1 |
| debian/samba(Debian:12) | < 2:4.16.6+dfsg-1 | 2:4.16.6+dfsg-1 |
| debian/samba(Debian:13) | < 2:4.16.6+dfsg-1 | 2:4.16.6+dfsg-1 |
| debian/samba(Debian:14) | < 2:4.16.6+dfsg-1 | 2:4.16.6+dfsg-1 |
| ubuntu/heimdal(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/samba(Ubuntu:22.04) | < 2:4.15.13+dfsg-0ubuntu1 | 2:4.15.13+dfsg-0ubuntu1 |
| samba | >= 4.0.0, < 4.15.11 | 4.15.11 |
| samba | >= 4.16.0, < 4.16.6 | 4.16.6 |
| samba | >= 4.17.0, < 4.17.2 | 4.17.2 |
| fedoraproject fedora | = 36 | No fix listed |
| fedoraproject fedora | = 37 | No fix listed |
| alpine/heimdal(Alpine:v3.14) | < 7.7.1-r0 | 7.7.1-r0 |
| alpine/heimdal(Alpine:v3.15) | < 7.7.1-r0 | 7.7.1-r0 |
| alpine/heimdal(Alpine:v3.16) | < 7.7.1-r0 | 7.7.1-r0 |
| alpine/heimdal(Alpine:v3.17) | < 7.7.1-r0 | 7.7.1-r0 |
| alpine/heimdal(Alpine:v3.18) | < 7.7.1-r0 | 7.7.1-r0 |
| alpine/heimdal(Alpine:v3.19) | < 7.7.1-r0 | 7.7.1-r0 |
| alpine/heimdal(Alpine:v3.20) | < 7.7.1-r0 | 7.7.1-r0 |
| alpine/heimdal(Alpine:v3.21) | < 7.7.1-r0 | 7.7.1-r0 |
| alpine/heimdal(Alpine:v3.22) | < 7.7.1-r0 | 7.7.1-r0 |
| alpine/heimdal(Alpine:v3.23) | < 7.7.1-r0 | 7.7.1-r0 |
| alpine/heimdal(Alpine:v3.24) | < 7.7.1-r0 | 7.7.1-r0 |
| alpine/samba(Alpine:v3.15) | >= 4.0.0, < 4.15.12-r0 | 4.15.12-r0 |
Show 9 more
| Product | Affected versions | Fixed in |
|---|---|---|
| alpine/samba(Alpine:v3.16) | >= 4.0.0, < 4.15.12-r0 | 4.15.12-r0 |
| alpine/samba(Alpine:v3.17) | >= 4.16.0, < 4.16.6-r0 | 4.16.6-r0 |
| alpine/samba(Alpine:v3.18) | >= 4.16.0, < 4.16.6-r0 | 4.16.6-r0 |
| alpine/samba(Alpine:v3.19) | >= 4.16.0, < 4.16.6-r0 | 4.16.6-r0 |
| alpine/samba(Alpine:v3.20) | >= 4.16.0, < 4.16.6-r0 | 4.16.6-r0 |
| alpine/samba(Alpine:v3.21) | >= 4.16.0, < 4.16.6-r0 | 4.16.6-r0 |
| alpine/samba(Alpine:v3.22) | >= 4.16.0, < 4.16.6-r0 | 4.16.6-r0 |
| alpine/samba(Alpine:v3.23) | >= 4.16.0, < 4.16.6-r0 | 4.16.6-r0 |
| alpine/samba(Alpine:v3.24) | >= 4.16.0, < 4.16.6-r0 | 4.16.6-r0 |
References
- Debian Security Tracker CVE-2022-3437 vendor-advisory
- bugzilla.redhat.com issue-tracking third-party-advisory
- www.samba.org vendor-advisory
- access.redhat.com third-party-advisory
- [oss-security] 20230208 [vs] heimdal: CVE-2022-45142: signature validation failure mailing-list
- security.netapp.com
- GLSA-202309-06 vendor-advisory
- GLSA-202310-06 vendor-advisory
- [debian-lts-announce] 20240422 [SECURITY] [DLA 3792-1] samba security update mailing-list
- Ubuntu CVE tracker vendor-advisory
- USN-5800-1 vendor-advisory
- USN-5822-1 vendor-advisory
- USN-5822-2 vendor-advisory
- USN-5936-1 vendor-advisory
- USN-7582-1 vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking