Back

MEDIUM

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

Published Jan 12, 2023

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

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)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner redhat
Published Jan 12, 2023
Updated Oct 28, 2024
Reserved Oct 10, 2022
CISA Vulnrichment
Updated Apr 22, 2024
NVD
Status Modified
Modified Jun 17, 2026
Red Hat
Severity Moderate
Public date Oct 25, 2022
ENISA EUVD
Assigner redhat
Published Jan 12, 2023
Updated Oct 28, 2024
Exploited since n/a
EUVD-2022-42813