samba: heap buffer overflow in GSSAPI unwrap_des() and unwrap_des3() routines of Heimdal
Published Jan 12, 2023
6.5
MEDIUMCVSS 3.1
EPSS 3.69%
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
- Vendor n/a Product Samba Defaultn/a
- Version Fixed in samba 4.15.11, samba 4.16.6, samba 4.17.2.StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | Samba | n/a |
|
Configuration 1
Configuration 2
- 36
- 37
No data.
Red Hat Enterprise Linux 6
samba
Not affected
Red Hat Enterprise Linux 6
samba4
Not affected
Red Hat Enterprise Linux 7
samba
Not affected
Red Hat Enterprise Linux 8
samba
Not affected
Red Hat Enterprise Linux 9
samba
Not affected
Red Hat Storage 3
samba
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | samba | Not affected | n/a |
| Red Hat Enterprise Linux 6 | samba4 | Not affected | n/a |
| Red Hat Enterprise Linux 7 | samba | Not affected | n/a |
| Red Hat Enterprise Linux 8 | samba | Not affected | n/a |
| Red Hat Enterprise Linux 9 | samba | Not affected | n/a |
| Red Hat Storage 3 | samba | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat 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.
References (11)
- http://www.openwall.com/lists/oss-security/2023/02/08/1 mailing-list
- https://access.redhat.com/security/cve/CVE-2022-3437 Third Party AdvisoryVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2137774 Issue TrackingThird Party Advisory
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-42813 Advisory
- https://lists.debian.org/debian-lts-announce/2024/04/msg00015.html mailing-list
- https://nvd.nist.gov/vuln/detail/CVE-2022-3437
- https://security.gentoo.org/glsa/202309-06 vendor-advisory
- https://security.gentoo.org/glsa/202310-06 vendor-advisory
- https://security.netapp.com/advisory/ntap-20230216-0008/
- https://www.cve.org/CVERecord?id=CVE-2022-3437
- https://www.samba.org/samba/security/CVE-2022-3437.html Vendor Advisory
| Link | Providers | Tags |
|---|---|---|
| http://www.openwall.com/lists/oss-security/2023/02/08/1 | mailing-list | |
| https://access.redhat.com/security/cve/CVE-2022-3437 | Third Party AdvisoryVendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2137774 | Issue TrackingThird Party Advisory | |
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-42813 | Advisory | |
| https://lists.debian.org/debian-lts-announce/2024/04/msg00015.html | mailing-list | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-3437 | ||
| https://security.gentoo.org/glsa/202309-06 | vendor-advisory | |
| https://security.gentoo.org/glsa/202310-06 | vendor-advisory | |
| https://security.netapp.com/advisory/ntap-20230216-0008/ | ||
| https://www.cve.org/CVERecord?id=CVE-2022-3437 | ||
| https://www.samba.org/samba/security/CVE-2022-3437.html | Vendor Advisory |
Change history (0)
No recorded changes yet.