CVE-2023-5568 Samba: heap buffer overflow with freshness tokens in the heimdal kdc

Medium 5.9 Published Updated

A remote authenticated attacker can cause a denial of service via a heap buffer overflow in the Samba Heimdal KDC.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-5568?

CVE-2023-5568 is a medium-severity memory corruption vulnerability in Samba Samba, published on 24 Oct 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A heap-based Buffer Overflow flaw was discovered in Samba. It could allow a remote, authenticated attacker to exploit this vulnerability to cause a denial of service.

Weakness: CWE-787, CWE-122

Which versions are affected by CVE-2023-5568?

It affects 1 product.

Linux distribution packages (1)
samba openSUSE:TumbleweedAll versions4.19.2+git.322.7e9201cef5-1.1

Products include Samba Samba.

How do I fix CVE-2023-5568?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2023-5568 being exploited?

There is no known exploitation of CVE-2023-5568 in the wild and no public exploit code.

All Samba Samba vulnerabilities

Sources

Also known as AZL-31745, AZL-37029, DEBIAN-CVE-2023-5568, GHSA-x3c8-vcr7-5m4v, ROOT-OS-ALPINE-318-CVE-2023-5568, ROOT-OS-ALPINE-319-CVE-2023-5568 and 1 more.

Is CVE-2023-5568 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free